Template:Tool: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<h2>Tool Information</h2>
<h2>Tool Information</h2>
;Maximum Durability
;Maximum Durability
<p style="margin-left: 1.6em;">{{{durability|<Information Missing>}}}{{#if:{{{durability|}}}|&nbsp;actions|<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{durability|<Information Missing><includeonly>[[Category:Missing_information]]</includeonly>}}}</p>
;Primary Function
;Primary Function
<p style="margin-left: 1.6em;">{{{primary|<Information Missing>}}}{{#if:{{{primary|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{primary|<Information Missing><includeonly>[[Category:Missing_information]]</includeonly>}}}</p>
;Secondary Function
;Secondary Function
<p style="margin-left: 1.6em;">{{{secondary|None}}}</p>{{#if:{{{other|}}}|''Other Functions'''<p style="margin-left: 1.6em;">{{{other|None}}}</p>|}}<includeonly>[[Category:Tools]]</includeonly><noinclude>
<p style="margin-left: 1.6em;">{{{secondary|None}}}</p>{{#if:{{{other|}}}|''Other Functions'''<p style="margin-left: 1.6em;">{{{other|}}}</p>|}}{{#if:{{{damage|}}}|''Attack Damage'''<p style="margin-left: 1.6em;">{{{damage|}}}</p>|}}<includeonly>[[Category:Tools]]</includeonly><noinclude>


==Usage==
==Usage==
Line 14: Line 14:
|secondary=<List of actions>
|secondary=<List of actions>
|other=<List of actions>
|other=<List of actions>
|damage=<Amount>
}}</pre>
}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.

Revision as of 19:00, 14 August 2017

Tool Information

Maximum Durability

<Information Missing>

Primary Function

<Information Missing>

Secondary Function

None

Usage

The Tool/Functions template is meant to be used for tools and weapons. It describes the actions that can be performed by these items.

{{Tool
|durability=<Number of actions?>
|primary=<List of actions?>
|secondary=<List of actions>
|other=<List of actions>
|damage=<Amount>
}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
  • Templates adds Category:Tools. Category:Missing_information is added conditionally.