Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Reworking stacker info to avoid blank lines showing up)
(Add 'song scroll' item property: sets has item property and Category:Song scrolls (agreed with admin))
 
(4 intermediate revisions by 2 users not shown)
Line 29: Line 29:
IfMatch| mail | {{{special}}} | true=*This item is used in the [[has item property::mail]] system.}}{{
IfMatch| mail | {{{special}}} | true=*This item is used in the [[has item property::mail]] system.}}{{
IfMatch| autolooter | {{{special}}} | true=*This {{{itype}}} is an [[has item property::autolooter| ]] [[Autoloot command|autoloot container]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items.}}{{
IfMatch| autolooter | {{{special}}} | true=*This {{{itype}}} is an [[has item property::autolooter| ]] [[Autoloot command|autoloot container]] that can hold up to {{#if:{{{imax|}}}|[[item capacity is::{{{imax}}}]]|''?''[[missing::Infobox entry on item capacity max| ]]}} items.}}{{
IfMatch| autoreviver | {{{special}}} | true=*This {{{itype}}} is an [[:Category:Autoreviver|autoreviver]]. [[has item property::autoreviver| ]]{{Cat|Autoreviver}}}}{{
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| ]]}} }}| }} }}{{
Line 50: Line 51:
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| ]]}}{{#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| 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|}}}|[[item capacity is::{{{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 135: Line 136:
IfMatch| weapon frog | {{{special}}} | true=*This item is a [[has item property::weapon frog| ]] [[weapon frog]] and can display up to two weapons that are {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | waist|belt =one-handed (but not polearm)| shoulder=any melee (but not polearm) |back=of any size | ???}} }}.[[has item property::weapon frog| ]]{{cat|Weapon frogs}}}}{{
IfMatch| weapon frog | {{{special}}} | true=*This item is a [[has item property::weapon frog| ]] [[weapon frog]] and can display up to two weapons that are {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | waist|belt =one-handed (but not polearm)| shoulder=any melee (but not polearm) |back=of any size | ???}} }}.[[has item property::weapon frog| ]]{{cat|Weapon frogs}}}}{{
IfMatch| whisper charm | {{{special}}} | true=*This item is a [[has item property::whisper charm]].{{cat|Whisper charms}}}}{{
IfMatch| whisper charm | {{{special}}} | true=*This item is a [[has item property::whisper charm]].{{cat|Whisper charms}}}}{{
IfMatch| song scroll | {{{special}}} | true=*This item is a [[song scroll]].[[has item property::song scroll| ]]{{Cat|Song scrolls}}}}{{
IfMatch| pilgrim's badge | {{{special}}} | true=* This is a [[pilgrim's badge]].[[has item property::pilgrim's badge| ]]}}{{#switch:{{lc:{{{feature-change}}}}}|true|yes=*This item can permanently change your {{#if:{{{affects_feature|}}}|[[Affects Feature::{{{affects_feature}}}]]|''?''[[missing::Infobox entry on feature affected by item| ]]}} to {{#if:{{{feature_decoration|}}}|[[Feature Decoration::{{{feature_decoration}}}]]|''?''[[missing::Infobox entry on feature result| ]]}}.[[Changes Feature::true| ]]{{Cat|Permanent Feature Changers}}}}{{#switch:{{lc:{{{generator}}}}}|true|yes=*This item can generate {{#if:{{{gentype|}}} | {{#arraymap: {{{gentype}}} | , | @@@@ | [[item generates category::@@@@]] | &#32;and&#32; }} {{#if:{{{genname|}}} | ({{sloot|{{#switch:{{lc:{{{gentype}}}}}|ammo=w|i}}|{{{genname}}}}})[[item generates specific::{{{genname}}}|]]| | ]]}} | an unknown item[[missing::Infobox entry on the item generation type| ]]}}.[[generator is::true| ]]{{Cat|Item generators}}}}{{
IfMatch| pilgrim's badge | {{{special}}} | true=* This is a [[pilgrim's badge]].[[has item property::pilgrim's badge| ]]}}{{#switch:{{lc:{{{feature-change}}}}}|true|yes=*This item can permanently change your {{#if:{{{affects_feature|}}}|[[Affects Feature::{{{affects_feature}}}]]|''?''[[missing::Infobox entry on feature affected by item| ]]}} to {{#if:{{{feature_decoration|}}}|[[Feature Decoration::{{{feature_decoration}}}]]|''?''[[missing::Infobox entry on feature result| ]]}}.[[Changes Feature::true| ]]{{Cat|Permanent Feature Changers}}}}{{#switch:{{lc:{{{generator}}}}}|true|yes=*This item can generate {{#if:{{{gentype|}}} | {{#arraymap: {{{gentype}}} | , | @@@@ | [[item generates category::@@@@]] | &#32;and&#32; }} {{#if:{{{genname|}}} | ({{sloot|{{#switch:{{lc:{{{gentype}}}}}|ammo=w|i}}|{{{genname}}}}})[[item generates specific::{{{genname}}}|]]| | ]]}} | an unknown item[[missing::Infobox entry on the item generation type| ]]}}.[[generator is::true| ]]{{Cat|Item generators}}}}{{
IfMatch| dwarf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::dwarf|Dwarves]].[[has item property::Dwarf style| ]]}}{{
IfMatch| dwarf style | {{{special}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::dwarf|Dwarves]].[[has item property::Dwarf style| ]]}}{{

Latest revision as of 17:10, 15 November 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.