Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Checking for possible typos [I hate how you cant preview template edits])
m (Testing using only #for)
Line 118: Line 118:
 
|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}}}]]}}
+
{{#for: 6 |{{#if|{{{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:10, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools