Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
m (test)
m (cat)
 
(25 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| align = right
 
| align = right
 
| margin = 0px 0px 20px 20px
 
| margin = 0px 0px 20px 20px
| title = <div style="font-size:65%; text-align:center;">{{{name}}}</div>
+
| title = <div style="font-size:68%; text-align:center;">{{{name}}}</div>
 
| body =
 
| body =
 
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]]
 
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]]
Line 22: Line 22:
 
{{#switch: {{{abilities|}}}  
 
{{#switch: {{{abilities|}}}  
 
| #default = This item doesn't have any special abilities.
 
| #default = This item doesn't have any special abilities.
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center|link={{{status}}}]]<br/>
+
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center|link=Abilities]]<br/>
 
}}
 
}}
 
}}
 
}}
Line 49: Line 49:
 
{{SKWindow/Cell|'''[[List of sets|Set]]''':
 
{{SKWindow/Cell|'''[[List of sets|Set]]''':
 
{{#if:{{{set|}}}
 
{{#if:{{{set|}}}
|<div style="font-size:93%;">{{{set}}}</div>
+
| {{{set}}}
 
|*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set.
 
|*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set.
 
}}
 
}}
 
|padding = 5px 0px 5px 5px}}
 
|padding = 5px 0px 5px 5px}}
 
}}
 
}}
The '''{{{name}}}''' is a {{{star}}}-star [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]][[Category:Weapons|{{{star}}}{{{name}}}]]
+
The '''{{{name}}}''' is a {{{star}}}-star [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]]{{#switch: {{{type}}}
{{#switch: {{{type}}}
+
| helmet = [[Category:Helmets|{{{star}}}-{{{name}}}]]
| helmet = [[Category:Helmets]]
+
| armor  = [[Category:Armor|{{{star}}}-{{{name}}}]]
| armor  = [[Category:Armor]]
+
 
| #default = [[Category:Needs type]]
 
| #default = [[Category:Needs type]]
 
}}{{#switch:{{{defense 1}}}
 
}}{{#switch:{{{defense 1}}}
Line 71: Line 70:
 
| Piercing  = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Piercing 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}}}]]
 
| 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|}}}|=
+
}}{{#if: {{{status 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 1}}} resistance|{{{star}}}-{{{name}}}]]|
|Curse  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Curse resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{status 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 2}}} resistance|{{{star}}}-{{{name}}}]]|
|Fire  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Fire resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{status 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 3}}} resistance|{{{star}}}-{{{name}}}]]|
|Freeze = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Freeze resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{status 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 4}}} resistance|{{{star}}}-{{{name}}}]]|
|Poison = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Poison resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{status 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 5}}} resistance|{{{star}}}-{{{name}}}]]|
|Shock  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Shock resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{status 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 6}}} resistance|{{{star}}}-{{{name}}}]]|
|Sleep  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Sleep resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{weakness 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 1}}}|{{{star}}}-{{{name}}}]]|
|Stun  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Stun resistance|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{weakness 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 2}}}|{{{star}}}-{{{name}}}]]|
}}{{#switch:{{{weakness 1|}}}{{{weakness 2|}}}{{{weakness 3|}}}{{{weakness 4|}}}{{{weakness 5|}}}{{{weakness 6|}}}{{{weakness 7|}}}|=
+
}}{{#if: {{{weakness 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 3}}}|{{{star}}}-{{{name}}}]]|
|Curse  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Curse|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{weakness 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 4}}}|{{{star}}}-{{{name}}}]]|
|Fire  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Fire|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{weakness 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 5}}}|{{{star}}}-{{{name}}}]]|
|Freeze = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Freeze|{{{star}}}-{{{name}}}]]
+
}}{{#if: {{{weakness 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 6}}}|{{{star}}}-{{{name}}}]]|
|Poison = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Poison|{{{star}}}-{{{name}}}]]
+
|Shock  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Shock|{{{star}}}-{{{name}}}]]
+
|Sleep  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Sleep|{{{star}}}-{{{name}}}]]
+
|Stun  = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to Stun|{{{star}}}-{{{name}}}]]
+
 
}}{{#switch:{{{promotional}}}
 
}}{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
 
| #default =
 
| #default =
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{documentation}}
+
{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:34, 12 September 2015

[edit] [purge] Template documentation
  • Documentation pending

For details on this overall project, see:

Personal tools