Difference between revisions of "Template:ArmorInfo"

From SpiralKnights

Jump to: navigation, search
(Dname was completely unnecessary.)
m (cat)
 
(126 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellpadding="0" cellspacing="0" width="300" align="right" style="border: 5px solid #000000; background: #ebc94d; margin: 10px; border-radius: 14px; -moz-border-radius: 14px; -webkit-border-radius: 14px; -khtml-border-radius: 14px; -icab-border-radius: 14px; -o-border-radius: 14px;"
+
<includeonly>{{SKWindow
|-
+
| width = 300px
| align="center" |
+
| align = right
{| width="100%" cellpadding="0" cellspacing="5" style="background-color: transparent;"
+
| margin = 0px 0px 20px 20px
| align="left" style="color: #283138; width: 38px;"| [[Image:Equipment-{{{name|Unknown}}}_icon.png|36px]]
+
| title = <div style="font-size:68%; text-align:center;">{{{name}}}</div>
| align="left" style="color: #283138; width: 100%;"| <big><big><big>'''''{{{name|Armor}}}'''''</big></big></big>
+
| body =
| align="right" style="color: #283138;" | {{Star|{{{star|1}}}}}
+
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]]
|}
+
|-
+
| align="center" |
+
{| cellpadding="5" cellspacing="0" align="center" style="border: 2px solid #496e8b; background: #114255; width: 100%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;"
+
|-
+
|
+
{| cellspacing="0" width="100%" align="center" style="background: #283138; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;"
+
|-
+
| align="center" | [[Image:{{{name|Unknown}}}-Equipped.png]]
+
|}
+
|-
+
|
+
{| cellspacing="0" width="100%" align="center" style="background: #283138; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;"
+
|-
+
|
+
{| cellpadding="0" cellspacing="5" width="100%" style="background-color: transparent; color: #FFFFFF; font-size: smaller;"
+
|-
+
! colspan="2" | Defense Power
+
! colspan="2" | Status Resist
+
|-
+
| width="25%" | '''Normal:'''
+
| width="25%" | {{{normal|0}}}
+
| width="25%" | '''Stun:'''
+
| width="25%" | {{{stun|0}}}
+
|-
+
| '''Piercing:'''
+
| {{{piercing|0}}}
+
| '''Poison:'''
+
| {{{poison|0}}}
+
|-
+
| '''Elemental:'''
+
| {{{elemental|0}}}
+
| '''Fire:'''
+
| {{{fire|0}}}
+
|-
+
| '''Shadow:'''
+
| {{{shadow|0}}}
+
| '''Freeze:'''
+
| {{{freeze|0}}}
+
|-
+
|
+
|
+
| '''Shock:'''
+
| {{{shock|0}}}
+
|-
+
|
+
|
+
| '''Sleep:'''
+
| {{{sleep|0}}}
+
|-
+
|
+
|
+
| '''Curse:'''
+
| {{{curse|0}}}
+
|}
+
|}
+
|-
+
|
+
{| cellspacing="0" width="100%" align="center" style="background: #283138; color: #FFFFFF; font-size: smaller; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;"
+
|-
+
| '''Abilities'''
+
 
+
{{{abilities|None}}}
+
|}
+
|}
+
|}
+
 
+
<noinclude>
+
{| align="center" width="50%" style="background-color: transparent;"
+
|-
+
| '''Use the following to display quick stats of an item on its page.'''
+
<pre>
+
{{ArmorInfo
+
| name =
+
| stars =
+
| normal =
+
| piercing =
+
| elemental =
+
| shadow =
+
| stun =
+
| poison =
+
| fire =
+
| freeze =
+
| shock =
+
| sleep =
+
| curse =
+
| abilities =
+
 
}}
 
}}
</pre>
+
|2 = center
|}
+
|3 = middle
 +
}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|
 +
|1 = {{star|{{{star|0}}}}}
 +
|2 = center
 +
|3 = middle
 +
}}
 +
{{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/>
 +
}}
 +
}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|'''[[Health|Health Pips]]''': [[File:Icon-notice.png|20px|right|Health Benefits, or the number of "pips," can increase with heat level for many items. Depth in the clockworks influences health behavior - see the Health page for details.]] {{clearright}}{{{health}}}|left}}<br/>
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|'''[[Accessory|Accessory Positions]]''':<br/>
 +
{{#switch:{{{type|armor}}}
 +
|helmet=
 +
{{#switch:{{{helmet_top|no}}}{{{helmet_side|no}}}{{{helmet_front|no}}}{{{helmet_back|no}}}|nononono=*[[:Category:No attachment|None]] [[Category:No attachment]]
 +
}}{{#switch: {{{helmet_top|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_top.png|16px|link=Helmet Top]]&nbsp;&nbsp;    [[Category:Helmet top attachment]]
 +
}}{{#switch: {{{helmet_side|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_side.png|16px|link=Helmet Side]]&nbsp;&nbsp;  [[Category:Helmet side attachment]]
 +
}}{{#switch: {{{helmet_front|}}} |#default =| yes = [[Image:Icon-accessory-helmet_front.png|16px|link=Helmet Front]]&nbsp;&nbsp; [[Category:Helmet front attachment]]
 +
}}{{#switch: {{{helmet_back|}}}  |#default =| yes = [[Image:Icon-accessory-helmet_back.png|16px|link=Helmet Back]]&nbsp;&nbsp;  [[Category:Helmet back attachment]]
 +
}}
 +
|armor=
 +
{{#switch:{{{armor_front|no}}}{{{armor_back|no}}}{{{armor_rear|no}}}{{{armor_aura|no}}}|nononono=*[[:Category:No attachment|None]] [[Category:No attachment]]
 +
}}{{#switch: {{{armor_front|}}} |#default =| yes = [[Image:Icon-accessory-armor_front.png|16px|link=Armor Front]]&nbsp;&nbsp; [[Category:Armor front attachment]]
 +
}}{{#switch: {{{armor_back|}}}  |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px|link=Armor Back]]&nbsp;&nbsp;  [[Category:Armor back attachment]]
 +
}}{{#switch: {{{armor_rear|}}}  |#default =| yes = [[Image:Icon-accessory-armor_rear.png|16px|link=Armor Rear]]&nbsp;&nbsp;  [[Category:Armor rear attachment]]
 +
}}{{#switch: {{{armor_aura|}}}  |#default =| yes = [[Image:Icon-accessory-armor_aura.png|16px|link=Armor Aura]]&nbsp;&nbsp;  [[Category:Armor aura attachment]]
 +
}}
 +
}}
 +
}}
 +
{{SKWindow/NewRow}}
 +
{{SKWindow/Cell|'''[[List of sets|Set]]''':
 +
{{#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 [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]]{{#switch: {{{type}}}
 +
| helmet = [[Category:Helmets|{{{star}}}-{{{name}}}]]
 +
| armor  = [[Category:Armor|{{{star}}}-{{{name}}}]]
 +
| #default = [[Category:Needs type]]
 +
}}{{#switch:{{{defense 1}}}
 +
|          =
 +
| Normal    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]]
 +
| Elemental = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Elemental defense|{{{star}}}-{{{name}}}]]
 +
| Piercing  = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]]
 +
| Shadow    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{defense 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]]
 +
}}{{#switch:{{{defense 2}}}
 +
|          =
 +
| Normal    = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Normal defense|{{{star}}}-{{{name}}}]]
 +
| Elemental = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Elemental 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}}}]]
 +
}}{{#if: {{{status 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 1}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 2}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 3}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 4}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 5}}} resistance|{{{star}}}-{{{name}}}]]|
 +
}}{{#if: {{{status 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 6}}} resistance|{{{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}}}
 +
| yes = [[Category:Promotional items]]
 +
| #default =
 +
}}</includeonly><noinclude>
 +
{{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