Difference between revisions of "Template:ShieldInfo"

From SpiralKnights

Jump to: navigation, search
(Renaming "big bash" to "Tortodrone Shield Bash" as its representative of a Tortodrone.)
m (fix cat)
 
(12 intermediate revisions by one other user 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}}}
+
{{SKWindow/NewRow}}
| yes = [[Category:Costume items]]
+
{{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/>
| #default =
+
{{SKWindow/NewRow}}
{{SKWindow/NewRow}}{{SKWindow/Cell|'''[[Defense|Defenses]]''':[[File:Icon-notice.png|20px|right|Defense, Health, 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|Defenses]]}}}|left}}<br/>
+
{{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}}
{{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|}}}  
{{#switch: {{{abilities}}} | no = This item doesn't have any special abilities.}}{{#switch: {{{abilities}}} | yes = [[Image:Equipment-{{{name|Unknown}}} Abilities.png|center|Abilities]]}}|}}<br/>}}{{#switch: {{{abilities}}} | torto = [[Image:Equipment-{{{name|Unknown}}} Abilities.png|center|Abilities]] <br/><div style="text-align:center;"> Tortodrone Shield Bash: <br/> Double [[Shield Bash]] damage </div> <br/>}}}}
+
| #default = This item doesn't have any special abilities.
<includeonly>[[Category:Equipment]] [[Category:Gear]]
+
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center|link=Abilities]]<br/>
{{#switch: {{{type}}}
+
}}
| shield = [[Category:Shields]]
+
}}
| #default = [[Category:Needs type]]
+
{{SKWindow/NewRow}}
}}  
+
{{SKWindow/Cell|'''[[List of sets|Set]]''':
{{#switch: {{{promotional}}}
+
{{#if:{{{set|}}}
 +
|{{{set}}}
 +
|*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set.
 +
}}
 +
|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