Difference between revisions of "Template:ShieldInfo"

From SpiralKnights

Jump to: navigation, search
m (adjust to match sibling templates)
m (fix cat)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
Line 28: Line 28:
 
{{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 [[shield]].<includeonly>[[Category:Equipment]][[Category:Shields|{{{star}}}-{{{name}}}]]
+
The '''{{{name}}}''' is a {{{star}}}-star [[shield]].[[Category:Equipment]][[Category:Shields|{{{star}}}-{{{name}}}]]
}}{{#switch:{{{defense 1}}}
+
{{#switch:{{{defense 1}}}
 
|          =
 
|          =
| Normal    = [[Category:{{{type}}}Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
+
| Normal    = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
| Elemental = [[Category:{{{type}}}Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Elemental defense|{{{star}}}-{{{name}}}]]
+
| Elemental = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Elemental defense|{{{star}}}-{{{name}}}]]
| Piercing  = [[Category:{{{type}}}Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
+
| Piercing  = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
| Shadow    = [[Category:{{{type}}}Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
+
| Shadow    = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
 
}}{{#switch:{{{defense 2}}}
 
}}{{#switch:{{{defense 2}}}
 
|          =
 
|          =
| Normal    = [[Category:{{{type}}}Shields providing Normal defense|{{{star}}}-{{{name}}}]]
+
| Normal    = [[Category:Shields providing Normal defense|{{{star}}}-{{{name}}}]]
| Elemental = [[Category:{{{type}}}Shields providing Elemental defense|{{{star}}}-{{{name}}}]]
+
| Elemental = [[Category:Shields providing Elemental defense|{{{star}}}-{{{name}}}]]
| Piercing  = [[Category:{{{type}}}Shields providing Piercing defense|{{{star}}}-{{{name}}}]]
+
| Piercing  = [[Category:Shields providing Piercing defense|{{{star}}}-{{{name}}}]]
| Shadow    = [[Category:{{{type}}}Shields providing Shadow defense|{{{star}}}-{{{name}}}]]
+
| Shadow    = [[Category:Shields providing Shadow defense|{{{star}}}-{{{name}}}]]
 
}}{{#if: {{{status 1|}}} | [[Category:Shields providing {{{status 1}}} resistance|{{{star}}}-{{{name}}}]]|
 
}}{{#if: {{{status 1|}}} | [[Category:Shields providing {{{status 1}}} resistance|{{{star}}}-{{{name}}}]]|
 
}}{{#if: {{{status 2|}}} | [[Category:Shields providing {{{status 2}}} resistance|{{{star}}}-{{{name}}}]]|
 
}}{{#if: {{{status 2|}}} | [[Category:Shields providing {{{status 2}}} resistance|{{{star}}}-{{{name}}}]]|
Line 55: Line 55:
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
 
| #default =
 
| #default =
}}<noinclude>
+
}}</includeonly><noinclude>
{{documentation}}
+
{{documentation}} [[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:23, 3 October 2015

[create] Template documentation
Personal tools