Difference between revisions of "Template:ItemMaterial"

From DDO Compendium
Line 1: Line 1:
== How to Use This Template ==
<noinclude>[[Category:Template]]{{TemplateDocumentation
 
|name = Material
Material|<material>|hardness|durability
|description = This template is used on equipment to define what material it is made up.
 
|example1 = <nowiki>{{Material|Silver|10|100}}</nowiki>
For example: {{Material|Silver|10|100}}
|example1output = {{Material|Silver|10|100}}
 
|parameter1name = Material Type
== The Template ==
|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|}}} | &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|(Durability)}}

Parameter Documentation
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.