Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 138: Line 138:
*{{#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|}}}|{{#switch:{{lc:{{{tdurability}}}}}| -=This item has {{#if:{{{uses|}}} | {{{uses}}} | ''?''[[missing::Infobox entry on number of uses| ]]}} uses, not|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)}}|''?''}} durability
*{{#if:{{{tdurability|}}}|{{#switch:{{lc:{{{tdurability}}}}}| -=This item has {{#if:{{{uses|}}} | {{{uses}}} | ''?''[[missing::Infobox entry on number of uses| ]]}} uses, not|[[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/>{{#switch:{{{ttype}}} | imbuement rod= *A maximum [[imbue]]ment value of {{#if:{{{maximbue|}}} | [[test::{{{maximbue}}}]] | [[missing::Infobox entry on imbuement max|''?'']]}}.}}{{Cat|Crafting tools}}}}
*{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{#switch:{{{ttype}}} | imbuement rod= *A maximum [[imbue]]ment value of {{#if:{{{maximbue|}}} | [[imbue cap is::{{{maximbue}}}]] | [[missing::Infobox entry on imbuement max|''?'']]}}.}}{{Cat|Crafting tools}}}}
|-
|-
{{#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:{{{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:

Revision as of 11:27, 8 December 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.