Difference between revisions of "Template:Material"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 12: | Line 12: | ||
|droplocation = | |droplocation = | ||
|enchantment= | |enchantment= | ||
|icon= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 20: | Line 21: | ||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = name | |parameter1name = name | ||
|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 | ||
|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. | ||
|parameter7name = collectors | |parameter7name = collectors | ||
|parameter7description = List collectors who take this. | |parameter7description = List collectors who take this. | ||
|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. | ||
|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. | ||
|parameter10name = enchantments | |parameter10name = enchantments | ||
|parameter10description = This specifies the enchantments when the type is augment. | |parameter10description = This specifies the enchantments when the type is augment. | ||
| | |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 --> | ||
{{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}}} |
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 Template:DropLocation to specify it. 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 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.