Template:StatTable: Difference between revisions

From I-Pixelmon
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
<td class="lab">Attack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>{{{Attack}}}</span></td>
<td class="lab">Attack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>{{{Attack}}}</span></td>
<td class="bar"><div class="fill" style="width:{{#expr: ( {{{Attack|0}}} * 100 / 255 ) round 0}}%;"></div></td>
<td class="bar"><div class="fill" style="width:{{#expr: ( {{{Attack|0}}} * 100 / 255 ) round 0}}%;"></div></td>
<td class="range"><small>{{#ifexpr:{{{HP}}}=1|1|{{#expr:((2*{{{HP}}})*50/100)+60 round 0}}}}–{{#ifexpr:{{{HP}}}=1|1|{{#expr:((2*{{{HP}}}+31+63)*50/100)+60 round 0}}}}</small></td><td class="range"><small>{{#ifexpr:{{{HP}}}=1|1|{{#expr:((2*{{{HP}}})*100/100)+110 round 0}}}}–{{#ifexpr:{{{HP}}}=1|1|{{#expr:((2*{{{HP}}}+31+63)*100/100)+110 round 0}}}}</small></td>
</tr>
</tr>



Revision as of 07:21, 19 May 2025

{{StatTable
 |HP=80 |Attack=82 |Defense=83 |SpAtk=100 |SpDef=100 |Speed=80
}}