Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 96: | Line 96: | ||
{{#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)}}}}{{#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)}}}}{{#if: {{IfMatch| pockets | {{{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| jewelry | {{{ptype}}} |true=1 }} | {{#if: {{IfMatch| pockets | {{{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)}}}} |
{{!}} '''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| clothing | {{{ptype}}} |true=1 }} | {{#if: {{IfMatch| pockets | {{{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| other | {{{ptype}}} |true=1 }} | {{#if: {{IfMatch| pockets | {{{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)}}}}}} |
|||
|- |
|- |
||
| '''Sources:''' ||{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch: {{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[source is::@@@@]] | ,  }} for {{#if:{{{cost|}}} | {{{cost}}} | [[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}}} | + | @@@@ | [[source is::@@@@]] | ,  }} for {{#if:{{{cost|}}} | {{{cost}}} | [[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 18:26, 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.