Difference between revisions of "Template:ItemProperties"

From elanthipedia
Jump to: navigation, search
Line 59: Line 59:
 
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{
 
IfMatch| hood | {{{special}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{
 
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items. {{{hides|}}} {{Cat|Item hiders}}[[has item property::hiding| ]]}}{{#If:
 
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items. {{{hides|}}} {{Cat|Item hiders}}[[has item property::hiding| ]]}}{{#If:
{{IfMatch | hiding | {{{special}}}}}{{{hides|}}}
+
{{IfMatch | hiding | {{{special}}}}}{{{hidetype|}}}
 
| *testing this thing
 
| *testing this thing
 
{{#if:
 
{{#if:
{{{wearloc|}}}  
+
{{{hidetype|}}}  
| {{#switch:{{lc:{{{wearloc}}}}} | n | -= | *This item hides {{#arraymap:{{{wearloc}}}|,|@@@@|[[hides item type::@@@@]]| and }}.}}  
+
| {{#switch:{{lc:{{{hidetype}}}}} | n | -= | *This item hides {{#arraymap:{{{hidetype}}}|,|@@@@|[[hides item type::@@@@]]| and }}.}}  
 
| *This item hides [[missing::Infobox entry on location worn|''unknown'']] objects.
 
| *This item hides [[missing::Infobox entry on location worn|''unknown'']] objects.
 
}}
 
}}

Revision as of 00:14, 26 September 2020

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.