Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (adding blob pet, flower display & reversible options)
(Adding item stacking information)
Line 50: 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 {{#if:{{{stacktype|}}} | {{#arraymap: {{{stacktype}}} | , | @@@@ | [[item stacks category::@@@@]] |  and  }} {{#if:{{{stackname|}}} | ({{ilink|{{#switch:{{lc:{{{stacktype}}}}}|ammo|weapons=w|i}}|{{{stackname}}}}})[[item stacks specific::{{{stackname}}}|]]| | ]]}} | an unknown item[[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| ]]}}{{

Revision as of 12:01, 10 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.