Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Reworking stacker info to avoid blank lines showing up)
 
(6 intermediate revisions by 3 users not shown)
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}}}}{{
IfMatch| chromatic | {{{special}}} | true=*This item is [[:Category:Chromatic enchantment items|chromatic]] and can change colors.[[has item property::chromatic| ]]{{cat|Chromatic enchantment items}}}}{{
Line 37: Line 38:
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 48: Line 50:
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.{{cat|Feature modifiers}}[[has item property::feature| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.{{cat|Feature modifiers}}[[has item property::feature| ]]}}{{
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents. '''Note:''' because of this, it may count as two items.[[has item property::stacking| ]]}}{{
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents. '''Note:''' because of this, it may count as two items.[[has item property::stacking| ]]}}{{#switch:{{lc:{{{stacker|}}}}}|true|yes=*This item can stack up to {{#if:{{{imax|}}}|{{{imax}}}|'''''unknown'''''[[missing::Infobox entry on the max stack size (imax)| ]]}} {{#if:{{{stacktype|}}}|{{#arraymap: {{{stacktype}}} | , | @@@@ | [[item stacks category::@@@@|{{#switch:{{lc:@@@@}}|generic=an item of the user's choice|@@@@}}]] | &#32;and&#32; }}{{#if:{{{stackname|}}}| ({{ilink|{{#switch:{{lc:{{{stacktype}}}}}|ammo|weapons=w|i}}|{{{stackname}}}}})[[item stacks specific::{{{stackname}}}|]]}}|'''''unknown items'''''[[missing::Infobox entry on the item stacking type| ]]}}.[[stacker is::true| ]]{{Cat|Item stackers}}|<!-- -->}}{{
IfMatch| haste | {{{special}}} | true=*This item can reduce [[roundtime]]. {{Cat|Haste items}}[[has item property::haste item| ]]}}{{
IfMatch| haste | {{{special}}} | true=*This item can reduce [[roundtime]]. {{Cat|Haste items}}[[has item property::haste item| ]]}}{{
IfMatch| horse | {{{special}}} | true=*This item is designed to be worn by or used on a {{Cat|Tack items}} [[:Category:Horses|horse or mount]].[[has item property::horse| ]][[has item property::tack| ]]}}{{
IfMatch| horse | {{{special}}} | true=*This item is designed to be worn by or used on a {{Cat|Tack items}} [[:Category:Horses|horse or mount]].[[has item property::horse| ]][[has item property::tack| ]]}}{{
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| ]]}}{{
Line 118: Line 121:
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness regeneration|Wilderness bonus regeneration]] item.[[has item property::regenerator (wilderness)| ]]}}{{
IfMatch| regenerator (wilderness) | {{{special}}} | true=*This is a [[Ranger]] [[Wilderness regeneration|Wilderness bonus regeneration]] item.[[has item property::regenerator (wilderness)| ]]}}{{
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[Voice Pool regeneration]] item.[[has item property::regenerator (voice pool)| ]]}}{{
IfMatch| regenerator (voice pool) | {{{special}}} | true=*This is a [[Barbarian]] [[Voice Pool regeneration]] item.[[has item property::regenerator (voice pool)| ]]}}{{
IfMatch| vampiric (fatigue) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapon|vampiric]] (fatigue) item.[[has item property::vampiric (fatigue)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (fatigue) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (fatigue) item.[[has item property::vampiric (fatigue)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (mana) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapon|vampiric]] (mana) item.[[has item property::vampiric (mana)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (mana) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (mana) item.[[has item property::vampiric (mana)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (spirit) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapon|vampiric]] (spirit) item.[[has item property::vampiric (spirit)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (spirit) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (spirit) item.[[has item property::vampiric (spirit)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (vitality) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapon|vampiric]] (vitality) item.[[has item property::vampiric (vitality)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| vampiric (vitality) | {{{special}}} | true=*This is a [[:Category:Vampiric Weapons|vampiric]] (vitality) item.[[has item property::vampiric (vitality)| ]]{{cat|Vampiric Weapons}}}}{{
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{
IfMatch| repair (weapon) | {{{special}}} | true=*This item repairs weapons.[[has item property::repair (weapon)| ]]}}{{
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{
IfMatch| repair (armor) | {{{special}}} | true=*This item repairs armor.[[has item property::repair (armor)| ]]}}{{
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{
IfMatch| repair (tool) | {{{special}}} | true=*This item repairs tools.[[has item property::repair (tool)| ]]}}{{
IfMatch| socketed (gem) | {{{special}}} | true=*This is a [[:Category:Gem socketed items|gem socketed item]].[[has item property::socketed (gem)| ]]{{cat|Gem socketed items}}}}{{
IfMatch| socketed (universal) | {{{special}}} | true=*This is a [[:Category:Universal socketed items|universal socketed item]].[[has item property::socketed (universal)| ]]{{cat|Universal socketed items}}}}{{
IfMatch| stun hider | {{{special}}} | true=*This item hides you when stunned.[[has item property::stun hider| ]]{{Cat|Stun hider}}}}{{
IfMatch| stun hider | {{{special}}} | true=*This item hides you when stunned.[[has item property::stun hider| ]]{{Cat|Stun hider}}}}{{
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
IfMatch| area marker | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Area markers|area marker]] that will persist for {{#if:{{{markerduration|}}} | [[Area marker duration is::{{{markerduration}}}]] | [[missing::Infobox entry for area marker duration|''?'']]}} day(s).[[has item property::area marker| ]]{{Cat|Area markers}}}}{{
Line 183: Line 188:
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|order=desc|intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none|order=desc|sep={{!}}}}|{{!}}|@@@@|[[source is::@@@@| ]] [[page source is::{{#replace:{{#replace:{{#replace:@@@@|<span class="smw-format list-format ">|}}|</span>|}}|<span class="smw-row"><span class="smw-field"><span class="smw-value">|}}| ]] |\s}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|order=desc|intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none|order=desc|sep={{!}}}}|{{!}}|@@@@|[[source is::@@@@| ]] [[page source is::{{#replace:{{#replace:{{#replace:@@@@|<span class="smw-format list-format ">|}}|</span>|}}|<span class="smw-row"><span class="smw-field"><span class="smw-value">|}}| ]] |\s}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}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. {{cat | Templates,Templates for Templates}} </noinclude>
This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}}</noinclude>

Latest revision as of 15:35, 24 January 2026

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.