Difference between revisions of "Template:Material"

From DDO Compendium
Line 4: Line 4:
|name =
|name =
|type =
|type =
|minlevel =
|binding=
|binding=
|bagtype =
|bagtype =
Line 34: Line 35:
* Filigree
* Filigree
* Spell Component
* Spell Component
|parameter3name = binding
|parameter3name = minlevel
|parameter3description = How is this item bound - leave blank it is unbound.
|parameter3description = The minimum level needed to be to use this item.
|parameter3values =  
|parameter4name = binding
|parameter4description = How is this item bound - leave blank it is unbound.
|parameter4values =  
* btc for Bound to Character
* btc for Bound to Character
* bta for Bound to Account
* bta for Bound to Account
Line 43: Line 46:
* btaoe for Bound to Account on Equip
* btaoe for Bound to Account on Equip
* btaoa for Bound to Account on Acquire
* btaoa for Bound to Account on Acquire
|parameter4name = bagtype
|parameter5name = bagtype
|parameter4description = Type of the bag/container that this goes in, leave blank if it doesn't go in anything.
|parameter5description = Type of the bag/container that this goes in, leave blank if it doesn't go in anything.
|parameter4values =  
|parameter5values =  
* Green
* Green
* Red
* Red
Line 52: Line 55:
* Augment
* Augment
* Soul
* Soul
|parameter5name = use
|parameter6name = use
|parameter5description = List what this can be used for - be detailed with links
|parameter6description = List what this can be used for - be detailed with links
|parameter6name = rarity
|parameter7name = rarity
|parameter6description = How common/uncommon/rare is this to get.  If it always drops from some location, don't include this.
|parameter7description = How common/uncommon/rare is this to get.  If it always drops from some location, don't include this.
|parameter7name = collectors
|parameter8name = collectors
|parameter7description = List collectors who take this.
|parameter8description = List collectors who take this.
|parameter8name = description
|parameter9name = description
|parameter8description = Enter the description that is on the examine window at the bottom.
|parameter9description = Enter the description that is on the examine window at the bottom.
|parameter9name = droplocation
|parameter10name = droplocation
|parameter9description = This specifies information on where this drops.  Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk.
|parameter10description = This specifies information on where this drops.  Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk.
|parameter10name = enchantments
|parameter11name = enchantments
|parameter10description = This specifies the enchantments when the type is augment.
|parameter11description = This specifies the enchantments when the type is augment.
|parameter11name=icon
|parameter12name=icon
|parameter11description=This is an icon to use, instead of the name
|parameter12description=This is an icon to use, instead of the name
|parameter12name = weight
|parameter13name = weight
|parameter12description = This is the weight, in lbs, as shown on the examine window.  The "lbs" will be added.
|parameter13description = This is the weight, in lbs, as shown on the examine window.  The "lbs" will be added.
|parameter13name = basevalue
|parameter14name = basevalue
|parameter13description = This is the base value as shown in the examine window.  Use [[Template:Price]].
|parameter14description = This is the base value as shown in the examine window.  Use [[Template:Price]].
|parameter14name = notes
|parameter15name = notes
|parameter14description = Any notes about this material.
|parameter15description = Any notes about this material.
}}
}}
</noinclude>
</noinclude>
Line 99: Line 102:
<tr>
<tr>
<td>
<td>
{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}
'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>
'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>
{{#if: {{{rarity|}}} | '''Rarity:'''&nbsp;{{{rarity}}}<br>}}
{{#if: {{{rarity|}}} | '''Rarity:'''&nbsp;{{{rarity}}}<br>}}

Revision as of 16:33, 31 October 2019

{{Template:Material
|name =
|type =
|minlevel =
|binding=
|bagtype =
|use=
|rarity =
|collectors = 
|description =
|droplocation = 
|enchantments=
|icon=
|weight=
|basevalue=
|notes=
}}

Material[edit]

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

Usage[edit]

Parameter Documentation
nameThis is the material name.
typeWhat type of item is it.
Possible Values:
  • Ingredient
  • Collectable
  • Gem
  • Augment
  • Filigree
  • Spell Component
minlevelThe minimum level needed to be to use this item.
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 one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. 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
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.
notesAny notes about this material.

Template

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