Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Undo revision 144413 by Isharon (Talk))
Line 24: Line 24:
#switch:{{{itype}}} | item={{#If:{{IfMatch| clothing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{IfMatch| jewelry | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::specific hair location| ]]|hair (tied)=*This item is tied to the hair [[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair [[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::specific shirt location| ]]|shirt-=* This item is worn in the shirt slot, but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot, and can be worn with armor.[[worn in slot::shirt (with armor)| ]]|{{#ifeq:{{lc:{{{wearloc}}} }} | generic | *This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the [[worn in slot::{{{wearloc}}}]] slot.}} }} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'' ]] slot. }} }} | weapon={{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | {{#ifeq:{{lc:{{{wearloc}}} }} | generic | *This weapon is worn in a [[worn in slot::generic]] slot. | *This weapon is worn in the [[worn in slot::{{{wearloc}}}]] slot.}} }} }} }}{{
#switch:{{{itype}}} | item={{#If:{{IfMatch| clothing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{IfMatch| jewelry | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::specific hair location| ]]|hair (tied)=*This item is tied to the hair [[worn in slot::hair (tied)| ]].|hair (placed)=*This item is placed in the hair [[worn in slot::hair (placed)| ]].|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).[[missing::specific shirt location| ]]|shirt-=* This item is worn in the shirt slot, but cannot be worn with armor.[[worn in slot::shirt (without armor)| ]]|shirt+=* This item is worn in the shirt slot, and can be worn with armor.[[worn in slot::shirt (with armor)| ]]|{{#ifeq:{{lc:{{{wearloc}}} }} | generic | *This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the [[worn in slot::{{{wearloc}}}]] slot.}} }} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'' ]] slot. }} }} | weapon={{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | {{#ifeq:{{lc:{{{wearloc}}} }} | generic | *This weapon is worn in a [[worn in slot::generic]] slot. | *This weapon is worn in the [[worn in slot::{{{wearloc}}}]] slot.}} }} }} }}{{
IfMatch| food | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| food | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is a [[has item property::drink]] or a container for drinks{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| alchemy | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is used in [[has item property::alchemy]].}}{{
IfMatch| alchemy | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is used in [[has item property::alchemy]].}}{{
IfMatch| tack | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{
IfMatch| tack | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=*This item is designed to be worn by or used on a horse or mount.[[has item property::tack| ]]}}{{

Revision as of 11:48, 26 April 2011

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.