Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Testing a foreach for categories)
m (Adding spaces to the foreach)
Line 117: Line 117:
 
|Sleep  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Sleep resistance|{{{star}}}-{{{name}}}]]
 
|Sleep  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Sleep resistance|{{{star}}}-{{{name}}}]]
 
|Stun  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Stun resistance|{{{star}}}-{{{name}}}]]
 
|Stun  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Stun resistance|{{{star}}}-{{{name}}}]]
}}{{#foreach:weakness$n$|weakness$n$=[[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness$n$}}}|{{{star}}}-{{{name}}}]]
+
}}{{#foreach:weakness $n$ |weakness $n$ = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness $n$}}}|{{{star}}}-{{{name}}}]]
 
}}{{#switch:{{{promotional}}}
 
}}{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]

Revision as of 14:02, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools