Difference between revisions of "Template:Material"

From DDO Compendium
Line 102: Line 102:
{{#if: {{{rarity|}}} | '''Rarity:'''&nbsp;{{{rarity}}}<br>}}
{{#if: {{{rarity|}}} | '''Rarity:'''&nbsp;{{{rarity}}}<br>}}
{{#ifeq: {{lc:{{{type|}}}}}|augment|'''Enchantments:'''
{{#ifeq: {{lc:{{{type|}}}}}|augment|'''Enchantments:'''
{{{enchantments|}}}<br><br>}}
{{{enchantments|}}}<br><br>}}{{#if: {{{description|}}}|
'''Description:''' ''{{{description}}} ''
'''Description:''' ''{{{description}}} ''}}
</td>
</td>
</tr>{{#if: {{{weight|}}}{{{basevalue|}}}|<tr><td><table class="item-table"><tr><td class="itembasevalue">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td><td class="itemweight">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td></tr></table></td></tr>}}
</tr>{{#if: {{{weight|}}}{{{basevalue|}}}|<tr><td><table class="item-table"><tr><td class="itembasevalue">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td><td class="itemweight">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td></tr></table></td></tr>}}

Revision as of 20:20, 29 July 2019

{{Template:Material
|name =
|type =
|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
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.