Difference between revisions of "Template:ItemProperties"

From elanthipedia
Jump to: navigation, search
Line 60: Line 60:
 
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items. {{{hides|}}} {{Cat|Item hiders}}[[has item property::hiding| ]]}}{{IfMatch | hiding | {{{special}}}{{{hides|}}} | true=*ifteststart
 
IfMatch| hiding | {{{special}}} | true=*This item can hide the wearer's features or worn items. {{{hides|}}} {{Cat|Item hiders}}[[has item property::hiding| ]]}}{{IfMatch | hiding | {{{special}}}{{{hides|}}} | true=*ifteststart
 
{{#if:
 
{{#if:
{{{hides|}}}  
+
{{{wearloc|}}}  
 
|  
 
|  
 
{{
 
{{
 
#switch:
 
#switch:
 
{{
 
{{
lc:{{{hides}}}
+
lc:{{{wearloc}}}
 
}}  
 
}}  
 
| n  
 
| n  
 
| -=  
 
| -=  
| *This item is worn in the {{#arraymap:{{{hides}}}|,|@@@@|[[this item has property hides::@@@@]]| or }}   
+
| *This item is worn in the {{#arraymap:{{{wearloc}}}|,|@@@@|[[this item has property hides::@@@@]]| or }}   
 
slot.}}  
 
slot.}}  
 
| *Hiding array still won't load!
 
| *Hiding array still won't load!

Revision as of 23:16, 25 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.