Difference between revisions of "Template:AttackPower"

From SpiralKnights

Jump to: navigation, search
(Added max fields.)
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>{{#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>
+
<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>
  
  

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