Difference between revisions of "Template:AttackPower"

From SpiralKnights

Jump to: navigation, search
m
m
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 style="font-size: 10pt;">Attack Power</td></tr>
+
<tr><td style="font-size: 10pt;">Attack Power</td></tr>{{#if: {{{normal|}}} |<tr><td>{{StatBar|Attack|normal||{{{normal}}}}}</td></tr>}}{{#if: {{{piercing|}}} |<tr><td>{{StatBar|Attack|piercing||{{{piercing}}}}}</td></tr>}}{{#if: {{{elemental|}}} |<tr><td>{{StatBar|Attack|elemental||{{{elemental}}}}}</td></tr>}}{{#if: {{{shadow|}}} |<tr><td>{{StatBar|Attack|shadow||{{{shadow}}}}}</td></tr>}}</table><noinclude>
{{#if: {{{normal|}}} |
+
<tr><td>{{StatBar|Attack|normal||{{{normal}}}}}</td></tr>
+
}}
+
{{#if: {{{piercing|}}} |
+
<tr><td>{{StatBar|Attack|piercing||{{{piercing}}}}}</td></tr>
+
}}
+
{{#if: {{{elemental|}}} |
+
<tr><td>{{StatBar|Attack|elemental||{{{elemental}}}}}</td></tr>
+
}}
+
{{#if: {{{shadow|}}} |
+
<tr><td>{{StatBar|Attack|shadow||{{{shadow}}}}}</td></tr>
+
}}</table><noinclude>
+
  
  

Revision as of 16:14, 10 December 2010

Attack Power


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