Difference between revisions of "Template:ItemMaterial"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 1: | Line 1: | ||
== | <noinclude>[[Category:Template]]{{TemplateDocumentation | ||
|name = Material | |||
|description = This template is used on equipment to define what material it is made up. | |||
|example1 = <nowiki>{{Material|Silver|10|100}}</nowiki> | |||
|example1output = {{Material|Silver|10|100}} | |||
|parameter1name = Material Type | |||
== | |parameter1description = This defines what material the item is made of. | ||
|parameter1values = | |||
|parameter1name = Hardness | |||
|parameter1description = This defines the hardness of the item. | |||
|parameter1values = | |||
|parameter1name = Durability | |||
|parameter1description = This defines the durability of the item. | |||
|parameter1values = | |||
}} | |||
</noinclude> | |||
<onlyinclude>{{#if: {{{1|}}}|<br>'''Material:''' This item is made out of: '''[[Material Type#{{{1}}}|'''{{{1}}}''']]'''[[Category:Items made of {{{1}}}]]<br>{{#if: {{{2|}}} | '''Hardness:''' {{{2}}}}}{{#if: {{{3|}}} | '''Durability:''' {{{3}}}}} }}</onlyinclude> | <onlyinclude>{{#if: {{{1|}}}|<br>'''Material:''' This item is made out of: '''[[Material Type#{{{1}}}|'''{{{1}}}''']]'''[[Category:Items made of {{{1}}}]]<br>{{#if: {{{2|}}} | '''Hardness:''' {{{2}}}}}{{#if: {{{3|}}} | '''Durability:''' {{{3}}}}} }}</onlyinclude> | ||
<noinclude>[[Category:Template]]</noinclude> | <noinclude>[[Category:Template]]</noinclude> |
Revision as of 21:16, 5 May 2018
Material[edit]
This template is used on equipment to define what material it is made up.
Example Usage | ||||||
{{Material|Silver|10|100}} |
|
Usage[edit]
{{Material|(Durability)}}
Parameter Documentation | |
Durability | This defines the durability of the item. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.