Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 129: Line 129:
*{{#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}}}}
|-
|-
{{#if:{{{insttype|}}}|{{!}} '''Instrument Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{insttype|}}}|{{#switch:{{{insttype}}} | n | -= | This item is a {{#arraymap:{{{insttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[InstType is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} instrument with:
{{#if:{{{insttype|}}}|{{!}} '''Instrument Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{insttype|}}}|{{#switch:{{{insttype}}} | n | -= | This {{#arraymap:{{{insttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[InstType is::{{lcfirst:@@@@}}]]}}|&#32;and&#32;}}}} | }} instrument is:
*{{#if:{{{instquality |}}}|[[instQuality is::{{{instquality}}}]] ([[instQuality is number::{{GearProcess|{{{instquality}}}|instquality}}]]/9)|''?''}} quality<br/>{{Cat|Instruments}}}}
*{{#if:{{{instquality |}}}|[[instQuality is::{{{instquality}}}]] ([[instQuality is number::{{GearProcess|{{{instquality}}}|instquality}}]]/9)|''?''}} quality<br/>{{Cat|Instruments}}}}
|-
|-

Revision as of 10:21, 30 November 2022

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.