Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 136: | Line 136: | ||
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ttype|}}}|{{#switch:{{{ttype}}} | n | -= | This item is a {{#arraymap:{{{ttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[tool type is::{{lcfirst:@@@@}}]]}}| and }}}} | }} with: |
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ttype|}}}|{{#switch:{{{ttype}}} | n | -= | This item is a {{#arraymap:{{{ttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[tool type is::{{lcfirst:@@@@}}]]}}| and }}}} | }} with: |
||
*{{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality |
*{{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality |
||
*{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability |
*{{#if:{{{tdurability|}}}|{{#switch:{{lc:{{{tdurability}}}}}| -= Does not have |[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)}}|''?''}} durability |
||
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}} |
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}} |
||
|- |
|- |
Revision as of 21:30, 9 November 2023
Essential Template
- This template is so essential that it has been protected to prevent tampering.
- If you have suggestions to extend its function or have observed bugs, please post to the discussion page.
This template is a display and categorization plug-in for other templates, including Template:Item, Template:Shield,Template:Armor, and Template:Weapon.
This is because several of the basic ones share features in addition to becoming too large.