Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) (Undo revision 577147 by TEVESHSZAT (talk)) |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
|{{#if:{{IfMatch| housing | {{{special}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} <!-- [[missing::Infobox entry on appraised cost|-->''Unknown''<!--]]--> }} }}{{#if:{{{itemtype|}}}|{{#arraymap:{{{itemtype}}}|,|@@@@|[[item type is::@@@@| ]]|}}}} |
|{{#if:{{IfMatch| housing | {{{special}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} <!-- [[missing::Infobox entry on appraised cost|-->''Unknown''<!--]]--> }} }}{{#if:{{{itemtype|}}}|{{#arraymap:{{{itemtype}}}|,|@@@@|[[item type is::@@@@| ]]|}}}} |
||
|- |
|- |
||
{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | {{#ifeq: {{{special}}} | -+++++++++++ | | {{!}} '''Properties:''' |
{{#if: {{{ptype|}}}{{{special|}}}{{{wearloc|}}}{{{enchanted|yes}}} | tes {{#ifeq: {{{special}}} | -+++++++++++ | | {{!}} '''Properties:''' |
||
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ptype|}}}| This is {{#switch:{{{ptype}}}|clothing=an article of [[item category is::clothing]]|container=a [[item category is::container]]|jewelry=[[item category is::jewelry]].|crafting tool=a [[item category is::crafting tool]]|other=is [[item category is::other|something else]]|''?''}}. }} {{#If:{{ |
{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ptype|}}}| This is {{#switch:{{{ptype}}}|clothing=an article of [[item category is::clothing]]|container=a [[item category is::container]]|jewelry=[[item category is::jewelry]].|crafting tool=a [[item category is::crafting tool]]|other=is [[item category is::other|something else]]|''?''}}. }} {{#If:{{ |
||
IfMatch| magic | {{{special}}} }}{{ |
IfMatch| magic | {{{special}}} }}{{ |
Revision as of 17:11, 11 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.