Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Adding spaces to the foreach)
m (Checking for possible typos [I hate how you cant preview template edits])
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}}}]]
+
}}
}}{{#switch:{{{promotional}}}
+
{{#foreach: weakness $n$ |weakness $n$ = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness $n$}}}|{{{star}}}-{{{name}}}]]}}
 +
{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
 
| #default =
 
| #default =

Revision as of 14:04, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools