Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
(added in array for wearloc) |
(added support for dimentions) |
||
Line 62: | Line 62: | ||
IfMatch| toy | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is a toy.[[has item property::toy| ]]}} |
IfMatch| toy | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is a toy.[[has item property::toy| ]]}} |
||
}} }} |
}} }} |
||
|- |
|||
| '''Size:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} {{{lsize|?}}} x {{{hsize|?}}} x {{{wsize|?}}} spans |
|||
|- |
|||
{{#if: ]]}}{{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} }} | |
|||
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} {{{ilsize|?}}} x {{{ihsize|?}}} x{{{iwsize|?}}} spans x {{{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 00:19, 15 January 2012
This template is a display and categorization "plug in" for other templates because several of the basic ones share features in addition to becoming too large.