Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
IfMatch| spacious | {{{special}}} | true=*This {{{itype}}} is a [[has item property::spacious]] container that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items, in spite of how large or small the container may appear outwardly.}}{{#if:{{{ptype|}}}| {{#switch:{{{ptype}}}|clothing|jewelry|other={{
IfMatch| spacious | {{{special}}} | true=*This {{{itype}}} is a [[has item property::spacious]] container that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items, in spite of how large or small the container may appear outwardly.}}{{#if:{{{ptype|}}}| {{#switch:{{{ptype}}}|clothing|jewelry|other={{
IfMatch| pockets | {{{special}}} | true=*This {{{itype}}} has [[has item property::pockets]].{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}| }} }}{{
IfMatch| pockets | {{{special}}} | true=*This {{{itype}}} has [[has item property::pockets]].{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}| }} }}{{
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can restore [[inner fire]].}}{{
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can aid with [[Category:Meditations|meditations]].}}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
IfMatch| lock | {{{special}}} | true=*This item can be locked.[[has item property::lock| ]]}}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n= | -=[[worn in slot::-| ]] | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is 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::Infobox is 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)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] |  or  }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{
#If:{{IfMatch| clothing | {{{special}}}}}{{IfMatch| jewelry | {{{special}}}}}{{IfMatch| container | {{{special}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n= | -=[[worn in slot::-| ]] | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."[[missing::Infobox is 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::Infobox is 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)| ]]| generic=*This item is worn in a [[worn in slot::generic]] slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | [[worn in slot::@@@@]] |  or  }} slot.}} | *This item is worn in an [[missing::Infobox entry on location worn|''unknown'']] or unset slot. }} }}{{

Revision as of 09:03, 17 July 2023

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.