Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adding temporary flag for outdated items using "traderapp" or "shop" fields)
(added disable choice for size)
Line 63: Line 63:
}} }}
}} }}
|-
|-
{{#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
{{!}} '''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}}
|-
|-
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|

Revision as of 16:09, 31 August 2012

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.