Difference between revisions of "Template:Material"
From DDO Compendium
MNDeveloper (talk | contribs) m |
MNDeveloper (talk | contribs) |
||
Line 13: | Line 13: | ||
|enchantment= | |enchantment= | ||
|icon= | |icon= | ||
|weight= | |||
|basevalue= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 63: | Line 65: | ||
|parameter11name=icon | |parameter11name=icon | ||
|parameter11description=This is an icon to use, instead of the name | |parameter11description=This is an icon to use, instead of the name | ||
|parameter12name = weight | |||
|parameter12description = This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | |||
|parameter13name = basevalue | |||
|parameter13description = This is the base value as shown in the examine window. Use [[Template:Price]]. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 98: | Line 104: | ||
'''Description:''' ''{{{description}}} '' | '''Description:''' ''{{{description}}} '' | ||
</td> | </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>}} | ||
</table> | </table> | ||
</td> | </td> |
Revision as of 18:42, 17 December 2018
{{Template:Material |name = |type = |binding= |bagtype = |use= |rarity = |collectors = |description = |droplocation = |enchantment= |icon= |weight= |basevalue= }}
Material[edit]
This template is used to render information about an ingredient, collectable, gem or any other material.
Usage[edit]
Parameter Documentation | |
name | This is the material name. |
type | What type of item is it. Possible Values:
|
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
bagtype | Type of the bag/container that this goes in, leave blank if it doesn't go in anything. Possible Values:
|
use | List what this can be used for - be detailed with links |
rarity | How common/uncommon/rare is this to get. If it always drops from some location, don't include this. |
collectors | List collectors who take this. |
description | Enter the description that is on the examine window at the bottom. |
droplocation | 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. |
enchantments | This specifies the enchantments when the type is augment. |
icon | This is an icon to use, instead of the name |
weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. |
basevalue | This is the base value as shown in the examine window. Use Template:Price. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.