Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 636394 by TEVESHSZAT (talk))
Tag: Undo
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 23: Line 23:
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{
IfMatch| jewelry | {{{special}}} | true=[[item category is::jewelry| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
IfMatch| container | {{{special}}} | true=*This {{{itype}}} is a [[has item property::container]] or has pockets.{{#if:{{{ilsize|}}}||[[missing::Infobox entry on internal size| ]]}} }}{{
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| 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={{
Line 85: Line 86:
IfMatch| glamour | {{{special}}} | true=*This item is a Glamour enchantment.[[has item property::glamour| ]]}}{{
IfMatch| glamour | {{{special}}} | true=*This item is a Glamour enchantment.[[has item property::glamour| ]]}}{{
IfMatch| targeted magic focus | {{{special}}} | true=*This item is a [[Focus_(item)#Targeted_Magic_Focus|targeted magic focus]].[[has item property::targeted magic focus| ]]}}{{
IfMatch| targeted magic focus | {{{special}}} | true=*This item is a [[Focus_(item)#Targeted_Magic_Focus|targeted magic focus]].[[has item property::targeted magic focus| ]]}}{{
IfMatch| spell customizer | {{{special}}} | true=*This item is a {{cat|Spell customizer}} [[has item property::spell customizer| ]][[:Category:Spell customizer|spell customizer]].}}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (concentration) | {{{special}}} | true=*This is a [[concentration regeneration]] item.[[has item property::regenerator (concentration)| ]]}}{{
IfMatch| regenerator (confidence) | {{{special}}} | true=*This is a [[Thief]] [[confidence regeneration]] item.[[has item property::regenerator (confidence)| ]]}}{{
IfMatch| regenerator (confidence) | {{{special}}} | true=*This is a [[Thief]] [[confidence regeneration]] item.[[has item property::regenerator (confidence)| ]]}}{{
Line 103: Line 105:
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}}}}{{
IfMatch| weapon frog | {{{special}}} | true=*This item 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 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| 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::@@@@]] |  and  }} {{#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::@@@@]] |  and  }} {{#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 18:25, 28 June 2024

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.