Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (Adding back the defense 2 switch that I may have accidentally deleted.)
m (So apparently #for doesnt exist. Using ifs instead.)
Line 112: Line 112:
 
| Shadow    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Shadow 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}}}]]|}} }}
+
{{#if|{{{status 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 1}}}|{{{star}}}-{{{name}}}]]|}}
{{#for:6|{{#if|{{{weakness $n$|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness $n$}}}|{{{star}}}-{{{name}}}]]|}} }}
+
{{#if|{{{status 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 2}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{status 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 3}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{status 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 4}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{status 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 5}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{status 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{status 6}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 1}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 2}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 3}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 4}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 5}}}|{{{star}}}-{{{name}}}]]|}}
 +
{{#if|{{{weakness 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 6}}}|{{{star}}}-{{{name}}}]]|}}
 
{{#switch:{{{promotional}}}
 
{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]

Revision as of 14:28, 1 April 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools