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>
<td class="range"><small>{{#expr:floor((((0+2*{{{Attack}}}+(0/4))*50/100)+5)*0.9)}}–{{#expr:floor((((31+2*{{{Attack}}}+(252/4))*50/100)+5)*1.1)}}</small></td>
<td class="range"><small>{{#expr:floor((((0+2*{{{Attack}}}+(0/4))*100/100)+5)*0.9)}}–{{#expr:floor((((31+2*{{{Attack}}}+(252/4))*100/100)+5)*1.1)}}</small></td>
 
</tr>
</tr>



Revision as of 07:27, 19 May 2025

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