Difference between revisions of "Template:ItemMaterial"

From DDO Compendium
Line 7: Line 7:
|parameter1description = This defines what material the item is made of.
|parameter1description = This defines what material the item is made of.
|parameter1values =  
|parameter1values =  
|parameter1name = Hardness
|parameter2name = Hardness
|parameter1description = This defines the hardness of the item.
|parameter2description = This defines the hardness of the item.
|parameter1values =  
|parameter2values =  
|parameter1name = Durability
|parameter3name = Durability
|parameter1description = This defines the durability of the item.
|parameter3description = This defines the durability of the item.
|parameter1values =  
|parameter3values =  
}}
}}
</noinclude>
</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|}}} | &nbsp;'''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|}}} | &nbsp;'''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}}
[[File:{{{name}}}_Icon.png|link=File:{{{name}}}_Icon.png|36px|x36px|]]{{{name}}}
Binding: Unbound


Usage[edit]

{{Material|(Material Type)|(Hardness)|(Durability)}}

Parameter Documentation
Material TypeThis defines what material the item is made of.
HardnessThis defines the hardness of the item.
DurabilityThis 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.