Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Matching status category to see if that registers [weakness doesnt appear to be changing])
m (Adding back the defense 2 switch that I may have accidentally deleted.)
Line 97: Line 97:
 
| armor  = [[Category:Armor]]
 
| armor  = [[Category:Armor]]
 
| #default = [[Category:Needs type]]
 
| #default = [[Category:Needs type]]
}}{{#switch:{{{defense 1}}}
+
}}
 +
{{#switch:{{{defense 1}}}
 
|          =
 
|          =
 
| Normal    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
 
| Normal    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
Line 104: Line 105:
 
| 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}}}]]
 
}}
 
}}
{{#for: 6 |{{#if|{{{status $n$|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status $n$}}}|{{{star}}}-{{{name}}}]]|}} }}
+
{{#switch:{{{defense 2}}}
{{#for: 6 |{{#if|{{{weakness $n$|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness $n$}}}|{{{star}}}-{{{name}}}]]|}} }}
+
|          =
 +
| 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}}}]]
 +
}}
 +
{{#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}}}]]|}} }}
 
{{#switch:{{{promotional}}}
 
{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]

Revision as of 14:22, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools