Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 95: Line 95:
|-
|-
{{#if: {{IfMatch| container | {{{special}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{#if: {{IfMatch| container | {{{special}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}{{#if: {{IfMatch| container | {{{ptype}}} |true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height ({{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones)}}}}
|-
|-

Revision as of 18:23, 12 December 2021

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.