Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (adding socketed items)
m (adding blob pet, flower display & reversible options)
 
Line 31: Line 31:
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| blob pet | {{{special}}} | true=*This item starts as a [[:Category:Blob pets|blob]] that can be manipulated to change the noun, color and worn location.[[has item property::blob pet| ]]{{cat|Blob pets}}}}{{
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can aid with [[:Category:Meditations|meditations]].}}{{
IfMatch| chakrel | {{{special}}} | true=*This item has [[has item property::chakrel]] and can aid with [[:Category:Meditations|meditations]].}}{{
IfMatch| chromatic | {{{special}}} | true=*This item is [[:Category:Chromatic enchantment items|chromatic]] and can change colors.[[has item property::chromatic| ]]{{cat|Chromatic enchantment items, Morph items, Color morph items}}}}{{
IfMatch| chromatic | {{{special}}} | true=*This item is [[:Category:Chromatic enchantment items|chromatic]] and can change colors.[[has item property::chromatic| ]]{{cat|Chromatic enchantment items}}}}{{
IfMatch| sanowret crystal | {{{special}}} | true=*This item is a [[has item property::sanowret crystal| ]] [[sanowret crystal]] and can train [[Arcana]].}}{{
IfMatch| sanowret crystal | {{{special}}} | true=*This item is a [[has item property::sanowret crystal| ]] [[sanowret crystal]] and can train [[Arcana]].}}{{
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| ]]}}{{
IfMatch| luckstone | {{{special}}} | true=*This item is a [[Luckstone enchantment|luckstone]] and fills up [[prediction]] pools. [[has item property::luckstone| ]]}}{{
IfMatch| luckstone | {{{special}}} | true=*This item is a [[Luckstone enchantment|luckstone]] and fills up [[prediction]] pools. [[has item property::luckstone| ]]}}{{
#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. }} }}{{
IfMatch| flower display | {{{special}}} | true=*This item can have [[picked flora]] applied to change the description, along with being a [[:Category:Color morph items|color morph item]].[[has item property::flower display| ]]{{cat|Flower display items}}}}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| food | {{{special}}} | true=*This item is [[has item property::food]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
IfMatch| drink | {{{special}}} | true=*This item is a [[has item property::drink]]{{#if:{{{uses|}}} | | [[missing::Infobox entry on number of uses| ]]}}.}}{{
Line 72: Line 74:
IfMatch| juggling | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
IfMatch| juggling | {{{special}}} | true=*This item is trains a skill with its use.[[has item property::trainer| ]]}}{{
IfMatch| pet | {{{special}}} | true=*This item is part of the [[vanity pet]] system.[[has item property::pet| ]]}}{{
IfMatch| pet | {{{special}}} | true=*This item is part of the [[vanity pet]] system.[[has item property::pet| ]]}}{{
IfMatch| reversible | {{{special}}} | true=*This item is [[:Category:Reversible items|reversible]].[[has item property::reversible| ]]{{cat|Reversible items}}}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a [[:Category:Tie_items|tie item]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} item(s) with appropriate nouns. {{Cat|Tie items}}[[has item property::tie item| ]]}}{{
IfMatch| tie | {{{special}}} | true=*This {{{itype}}} is a [[:Category:Tie_items|tie item]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} item(s) with appropriate nouns. {{Cat|Tie items}}[[has item property::tie item| ]]}}{{
IfMatch| toy | {{{special}}} | true=*This item is a toy.[[has item property::toy| ]]}}{{
IfMatch| toy | {{{special}}} | true=*This item is a toy.[[has item property::toy| ]]}}{{

Latest revision as of 16:45, 23 December 2025

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.