Difference between revisions of "Template:Material"

From DDO Compendium
Line 12: Line 12:
|droplocation =  
|droplocation =  
|enchantment=
|enchantment=
|icon=
}}
}}
</pre>
</pre>
Line 20: Line 21:
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = name
|parameter1name = name
|parameter1description = The name of the item.
|parameter1values =  
|parameter1values =  
|parameter2name = type
|parameter2name = type
Line 51: Line 51:
|parameter5name = use
|parameter5name = use
|parameter5description = List what this can be used for - be detailed with links
|parameter5description = List what this can be used for - be detailed with links
|parameter5values =
|parameter6name = rarity
|parameter6name = rarity
|parameter6description = How common/uncommon/rare is this to get.  If it always drops from some location, don't include this.
|parameter6description = How common/uncommon/rare is this to get.  If it always drops from some location, don't include this.
|parameter6values =
|parameter7name = collectors
|parameter7name = collectors
|parameter7description = List collectors who take this.
|parameter7description = List collectors who take this.
|parameter7values =
|parameter8name = description
|parameter8name = description
|parameter8description = Enter the description that is on the examine window at the bottom.
|parameter8description = Enter the description that is on the examine window at the bottom.
|parameter8values =
|parameter9name = droplocation
|parameter9name = droplocation
|parameter9description = This specifies information on where this drops.  Use [[Template:DropLocation]] to specify it.  IF there is more than one, put each on its own line starting with an asterisk.
|parameter9description = This specifies information on where this drops.  Use [[Template:DropLocation]] to specify it.  IF there is more than one, put each on its own line starting with an asterisk.
|parameter9values =
|parameter10name = enchantments
|parameter10name = enchantments
|parameter10description = This specifies the enchantments when the type is augment.
|parameter10description = This specifies the enchantments when the type is augment.
|parameter10values =  
|parameter11name=icon
|parameter11description=This is an icon to use, instead of the name
}}
}}
</noinclude>
</noinclude>
Line 80: Line 76:
<td class="icon">
<td class="icon">
<!-- Icon Image -->
<!-- Icon Image -->
[[File:{{{type}}}_{{{name}}}_Icon.png|link=|40px|x40px|]]</td>
{{IconImage|{{{name}}}|{{{icon|}}}}}</td>
<td class="title">
<td class="title">
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]

Revision as of 19:45, 5 October 2018

{{Template:Material
|name =
|type =
|binding=
|bagtype =
|use=
|rarity =
|collectors = 
|description =
|droplocation = 
|enchantment=
|icon=
}}

Material[edit]

This template is used to render information about an ingredient, collectable, gem or any other material.

Usage[edit]

Parameter Documentation
name{{{parameter1description}}}
typeWhat type of item is it.
Possible Values:
  • Ingredient
  • Collectable
  • Gem
  • Augment
  • Filigree
  • Spell Component
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
bagtypeType of the bag/container that this goes in, leave blank if it doesn't go in anything.
Possible Values:
  • Green
  • Red
  • Blue
  • Cookie Jar
  • Augment
  • Soul
useList what this can be used for - be detailed with links
rarityHow common/uncommon/rare is this to get. If it always drops from some location, don't include this.
collectorsList collectors who take this.
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis specifies information on where this drops. Use Template:DropLocation to specify it. IF there is more than one, put each on its own line starting with an asterisk.
enchantmentsThis specifies the enchantments when the type is augment.
iconThis is an icon to use, instead of the name

Template

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