Difference between revisions of "Template:AttackPower"

From SpiralKnights

Jump to: navigation, search
(Created page with '<table width="100%" cellpadding="0" style="background-color: #496e8b; border-spacing: 10px 5px; padding: 2px 10px 2px 10px; border-radius: 10px; -moz-border-radius: 10px; -webkit…')
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<table width="100%" cellpadding="0" style="background-color: #496e8b; border-spacing: 10px 5px; padding: 2px 10px 2px 10px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;">
 
<table width="100%" cellpadding="0" style="background-color: #496e8b; border-spacing: 10px 5px; padding: 2px 10px 2px 10px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;">
<tr><td>Attack Power</td></tr>
+
<tr><td style="font-size: 10pt;">Attack Power</td></tr>{{#if: {{{normal|}}} |<tr><td>{{StatBar|Attack|normal||{{{normal}}}|{{{normalmax|}}}}}</td></tr>}}{{#if: {{{piercing|}}} |<tr><td>{{StatBar|Attack|piercing||{{{piercing}}}|{{{piercingmax|}}}}}</td></tr>}}{{#if: {{{elemental|}}} |<tr><td>{{StatBar|Attack|elemental||{{{elemental}}}|{{{elementalmax|}}}}}</td></tr>}}{{#if: {{{shadow|}}} |<tr><td>{{StatBar|Attack|shadow||{{{shadow}}}|{{{shadowmax|}}}}}</td></tr>}}</table><noinclude>
{{#if: {{{normal|}}} |
+
<tr><td>{{StatBar|Attack|Nrm|{{{normal}}}}}</td></tr>
+
}}
+
{{#if: {{{piercing|}}} |
+
<tr><td>{{StatBar|Attack|Prc|{{{piercing}}}}}</td></tr>
+
}}
+
{{#if: {{{elemental|}}} |
+
<tr><td>{{StatBar|Attack|Elm|{{{elemental}}}}}</td></tr>
+
}}
+
{{#if: {{{shadow|}}}
+
<tr><td>{{StatBar|Attack|Shd|{{{shadow}}}}}</td></tr>
+
}}
+
</table><noinclude>
+
  
  
Line 23: Line 10:
 
{{AttackPower
 
{{AttackPower
 
| normal = Percentage
 
| normal = Percentage
 +
| normalmax = Percentage
 
| piercing = Percentage
 
| piercing = Percentage
 +
| piercingmax = Percentage
 
| elemental = Percentage
 
| elemental = Percentage
 +
| elementalmax = Percentage
 
| shadow = Percentage
 
| shadow = Percentage
 +
| shadowmax = Percentage
 
}}
 
}}
 
</pre>
 
</pre>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:36, 10 December 2010

Attack Power


Use the following to display stat bars for attack power.
{{AttackPower
| normal = Percentage
| normalmax = Percentage
| piercing = Percentage
| piercingmax = Percentage
| elemental = Percentage
| elementalmax = Percentage
| shadow = Percentage
| shadowmax = Percentage
}}
Personal tools