Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Missed a }})
m (Matching status category to see if that registers [weakness doesnt appear to be changing])
Line 103: Line 103:
 
| Piercing  = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
 
| Piercing  = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
 
| Shadow    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
 
| Shadow    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
}}{{#switch:{{{defense 2}}}
 
|          =
 
| Normal    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Normal defense|{{{star}}}-{{{name}}}]]
 
| Elemental = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Elemental defense|{{{star}}}-{{{name}}}]]
 
| Piercing  = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Piercing defense|{{{star}}}-{{{name}}}]]
 
| Shadow    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Shadow defense|{{{star}}}-{{{name}}}]]
 
}}{{#switch:{{{status 1|}}}{{{status 2|}}}{{{status 3|}}}{{{status 4|}}}{{{status 5|}}}{{{status 6|}}}{{{status 7|}}}|=
 
|Curse  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Curse resistance|{{{star}}}-{{{name}}}]]
 
|Fire  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Fire resistance|{{{star}}}-{{{name}}}]]
 
|Freeze = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Freeze resistance|{{{star}}}-{{{name}}}]]
 
|Poison = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Poison resistance|{{{star}}}-{{{name}}}]]
 
|Shock  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Shock 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}}}]]
 
 
}}
 
}}
 +
{{#for: 6 |{{#if|{{{status $n$|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status $n$}}}|{{{star}}}-{{{name}}}]]|}} }}
 
{{#for: 6 |{{#if|{{{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}}}

Revision as of 14:14, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools