Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 607081 by TEVESHSZAT (talk))
No edit summary
Line 130: Line 130:
|-
|-
{{#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:@@@@}}]]}}| and }}}} | }} 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:@@@@}}]]}}| and }}}} | }} 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}}
|-
|-
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}

Revision as of 10:23, 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.