Difference between revisions of "Template:ShieldInfo"

From SpiralKnights

Jump to: navigation, search
m (shield terminology)
m (fix cat)
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
 
| margin = 0px 0px 20px 20px
 
| margin = 0px 0px 20px 20px
| icon = Equipment-{{{name|Unknown}}}{{{fixicon|}}}_icon.png
+
| title = <div style="font-size:68%; text-align:center;">{{{name}}}</div>
| title = {{{name|Shield}}}
+
| stars = {{{stars|0}}}
+
 
| body =
 
| body =
 +
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]]
 +
}}
 +
|2 = center
 +
|3 = middle
 +
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/EmptyCell|[[Image:{{{name|Unknown}}}{{{fiximg|}}}-Equipped.png{{#switch: {{{view2}}}
+
{{SKWindow/Cell|
| yes = {{pipe}}128px
+
|1 = {{star|{{{star|0}}}}}
| #default = }}]]{{#switch: {{{view2}}}
+
|2 = center
| yes =[[File:{{{name|Unknown}}}-Equipped_2.png|128px]]
+
|3 = middle
| #default = }}|center||4}}
+
{{#switch: {{{costume}}}
+
| yes = [[Category:Costume items]]
+
| #default =
+
{{SKWindow/NewRow}}{{SKWindow/Cell|'''[[Defense|Defenses]]''':[[File:Icon-notice.png|20px|right|Defense, Health, and Status Resistance bars tell you different things. See the Defense and Abilities pages for details.]]{{clearright}}{{{stats|[[Image:Equipment-{{{name|Unknown}}}_Stats.png|center|Defenses]]}}}|left}}<br/>
+
{{SKWindow/NewRow}}{{SKWindow/Cell|'''[[Abilities]]''':[[File:Icon-notice.png|20px|right|Boosts and Penalties are both considered "abilities" in general. Some items have additional health as a special "ability," giving more health pips than most items. Many items don't have any special abilities. See the Abilities page for details.]]{{clearright}}{{#switch: {{{abilities_aura|no}}} | nononononononono = *No special [[Abilities|abilities]].}}{{{abilities|[[Image:Equipment-{{{name|Unknown}}} Abilities.png|center|Abilities]]}}}|left}}<br/>
+
 
}}
 
}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|'''[[Damage|Defenses]]''':[[File:Icon-notice.png|20px|right|Defense and Status resistance bars tell you different things. The number of segments don't represent the same low, medium, high, etc. values. See the Defense and Abilities pages for details.]]{{clearright}}{{{stats|[[Image:Equipment-{{{name|Unknown}}}_Stats.png|center|stats]]}}}|left}}<br/>
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|'''[[Abilities]]''':[[File:Icon-notice.png|20px|right|Boosts and Penalties are both considered "abilities" in general. Some items have additional health as a special "ability," giving more health pips than most items. Many items don't have any special abilities. See the Abilities page for details.]]{{clearright}}
 +
{{#switch: {{{abilities|}}}
 +
| #default = This item doesn't have any special abilities.
 +
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center|link=Abilities]]<br/>
 
}}
 
}}
<noinclude>{{documentation}}</noinclude>
+
}}
<includeonly>[[Category:Equipment]] [[Category:Gear]]
+
{{SKWindow/NewRow}}
{{#switch: {{{type}}}
+
{{SKWindow/Cell|'''[[List of sets|Set]]''':
| shield = [[Category:Shields]]
+
{{#if:{{{set|}}}
| helmet = [[Category:Helmets]]
+
|{{{set}}}
| #default = [[Category:Needs type]]
+
|*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set.
}}  
+
}}
{{#switch: {{{promotional}}}
+
|padding = 5px 0px 5px 5px}}
 +
}}
 +
The '''{{{name}}}''' is a {{{star}}}-star [[shield]].[[Category:Equipment]][[Category:Shields|{{{star}}}-{{{name}}}]]
 +
{{#switch:{{{defense 1}}}
 +
|           =
 +
| Normal    = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
 +
| Elemental = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Elemental defense|{{{star}}}-{{{name}}}]]
 +
| Piercing  = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
 +
| Shadow    = [[Category:Shields providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
 +
}}{{#switch:{{{defense 2}}}
 +
|          =
 +
| Normal    = [[Category:Shields providing Normal defense|{{{star}}}-{{{name}}}]]
 +
| Elemental = [[Category:Shields providing Elemental defense|{{{star}}}-{{{name}}}]]
 +
| Piercing  = [[Category:Shields providing Piercing defense|{{{star}}}-{{{name}}}]]
 +
| Shadow    = [[Category:Shields providing Shadow defense|{{{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 3|}}} | [[Category:Shields providing {{{status 3}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 4|}}} | [[Category:Shields providing {{{status 4}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 5|}}} | [[Category:Shields providing {{{status 5}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 6|}}} | [[Category:Shields providing {{{status 6}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#switch:{{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
 
| #default =
 
| #default =
}}
+
}}</includeonly><noinclude>
</includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[{{{type}}}]].
+
{{documentation}} [[Category:Infobox templates|{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 00:23, 3 October 2015

[create] Template documentation
Personal tools