Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(nothing to see here)
(added semantic links)
Line 63: Line 63:
}} }}
}} }}
|-
|-
| '''Dimentions:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|{{{lsize}}}|''?''}} x {{#if:{{{hsize|}}}|{{{hsize}}}|''?''}} x {{#if:{{{wsize|}}}|{{{wsize}}}|''?''}} spans
| '''Dimentions:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} spans
|-
|-
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|{{{ilsize}}}|''?''}} x {{#if:{{{ihsize|}}}|{{{ihsize}}}|''?''}} x {{#if:{{{iwsize|}}}|{{{iwsize}}}|''?''}} spans x {{#if:{{{csize|}}}|{{{csize}}}|''?''}} stones}}}}
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} spans x {{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} stones}}}}
|-
|-
| '''Sources:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | x | [[sold by::x]] | ,  }} for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']]}} | [[missing::Infobox entry on source|''Unknown'']]}}{{
| '''Sources:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | x | [[sold by::x]] | ,  }} for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']]}} | [[missing::Infobox entry on source|''Unknown'']]}}{{

Revision as of 02:20, 15 January 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.