Difference between revisions of "Template:Cosmetic"

From DDO Compendium
Line 16: Line 16:
|update=
|update=
|upgradeable =
|upgradeable =
|link=
}}
}}
</pre>
</pre>
Line 66: Line 67:
|parameter14name = upgradeable
|parameter14name = upgradeable
|parameter14description = If this item is upgradeable, use [[Template:ItemUpgrade]]. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list.
|parameter14description = If this item is upgradeable, use [[Template:ItemUpgrade]]. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list.
|parameter15name = link
|parameter15description = The link to this page, if it isn't the same as the name.
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|<div class="row">
<div class="row">
<div class="col-sm-6">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
Line 142: Line 144:
|theme-color=#FF0000
|theme-color=#FF0000
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{{droplocation|}}}| |,}},{{#replace:{{{upgradeable|}}}| |,}}
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{{droplocation|}}}| |,}},{{#replace:{{{upgradeable|}}}| |,}}
}}</includeonly>
}}}}</includeonly>

Revision as of 23:42, 16 October 2021

{{Template:Cosmetic
|name =
|type =
|binding = 
|description =
|droplocation = 
|storedescription =
|restriction = 
|icon=
|image=
|bug=
|weight=
|basevalue=
|update=
|upgradeable =
|link=
}}

Item[edit]

This template is used to render information about a cosmetic.

Usage[edit]

Parameter Documentation
nameThe name of the item.
typeWhat type of item is it.
Possible Values:
  • Headwear
  • Cloak
  • Armor
  • Docent
  • War Paint
  • Weapon
  • Weapon Aura
bindingHow is this item bound - leave blank it is unbound.
Possible Values:
  • btc for Bound to Character
  • bta for Bound to Account
  • btcoe for Bound to Character on Equip
  • btcoa for Bound to Character on Acquire
  • btaoe for Bound to Account on Equip
  • btaoa for Bound to Account on Acquire
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis specifies information on where this drops. Use Template:DropLocation, Template:ItemIconicReceived, Template:StorePurchase, Template:CollectablePurchase, Template:RaidRunePurchase to specify it. IF there is more than one, put each on its own line starting with an asterisk.
storedescriptionThis is the description of the item found in the store.
restrictionThis is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use Template:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace.
iconThe icon to use for this item, overrides the image using the item name
imageImage file, use if the image doesn't change between heroic and epic types. Do not include extension.
bugContains any information about a bug related to the item. Use Template:Bug
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
updateUpdate this was released in
upgradeableIf this item is upgradeable, use Template:ItemUpgrade. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list.
linkThe link to this page, if it isn't the same as the name.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.