Template:ToolNoCategories: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Tool Information</h2> ;Durability <p style="margin-left: 1.6em;">{{{durability|<Information Missing><includeonly>Category:Missing_information</includeonly>}}}</p> ;Primary Function <p style="margin-left: 1.6em;">{{{primary|None}}}</p> ;Secondary Function <p style="margin-left: 1.6em;">{{{secondary|None}}}</p><!-- -->{{#if:{{{damage|}}}|<!--TRUE-->'''Attack Damage'''<p style="margin-left: 1.6em;">{{{damage|}}}</p>|<!--FALSE-->}}<!-- -->{{#if:{{{velocity|}}}|<!--TR...")
 
mNo edit summary
 
Line 31: Line 31:
*[[:Category:Missing_information]] is added conditionally.
*[[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
{{:Template Ordering}}
[[Category:Templates/No Categorization]]</noinclude>
[[Category:Templates/NoCategorization]]</noinclude>

Latest revision as of 23:06, 19 July 2022

Tool Information

Durability

<Information Missing>

Primary Function

None

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.

{{ToolNoCategories
|durability=<Number of actions?>
|primary=<List of actions>
|secondary=<List of actions>
|other=<List of actions>
|damage=<Amount>
|velocity=<Number>
|effects=<EffectName: RelevantInformation>
|cost=<stat cost(s)>
|multipletargets=<truefalse>
}}
  • 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 or not be displayed. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
  • Category:Missing_information is added conditionally.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.