Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Reworking stacker info to avoid blank lines showing up)
No edit summary
 
(3 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| ]]}}{{

Latest revision as of 09:40, 28 September 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.