Template:Tool: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
| Line 11: | Line 11: | ||
-->{{#if:{{{effects|}}}|<!--TRUE-->'''Effect(s)'''<p style="margin-left: 1.6em;">{{{effects|}}}</p>|<!--FALSE-->}}<!-- | -->{{#if:{{{effects|}}}|<!--TRUE-->'''Effect(s)'''<p style="margin-left: 1.6em;">{{{effects|}}}</p>|<!--FALSE-->}}<!-- | ||
--><includeonly>{{#if:{{{nocat|}}}|<!--TRUE-->|<!--FALSE-->[[Category:Tools]]}}</includeonly><noinclude> | --><includeonly>{{#if:{{{nocat|}}}|<!--TRUE-->|<!--FALSE-->[[Category:Tools and Weapons]]}}</includeonly><noinclude> | ||
==Usage== | ==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. | The Tool/Functions template is meant to be used for tools and weapons. It describes the actions that can be performed by these items. | ||
| Line 25: | Line 25: | ||
*The code above can be pasted into your page and edited. | *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. | *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. | ||
*Templates adds [[:Category:Tools]]. [[:Category:Missing_information]] is added conditionally. | *Templates adds [[:Category:Tools and Weapons]]. [[:Category:Missing_information]] is added conditionally. | ||
{{:Template Ordering}} | {{:Template Ordering}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 12:04, 31 August 2018
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.
{{Tool
|durability=<Number of actions?>
|primary=<List of actions>
|secondary=<List of actions>
|other=<List of actions>
|damage=<Amount>
|velocity=<Number>
|effects=<EffectName: RelevantInformation>
}}
- 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.
- Templates adds Category:Tools and Weapons. 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.