Template:Stats: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Reverted edits by MAGNEDETH (Talk) to last version by TTEchidna)
(Ready? Set. GOOOO!)
Line 1: Line 1:
{|style="background-color: transparent;"
{| align="left" style="background: #{{{{{type|???}}} color}}; -moz-border-radius: 1em; border: 5px solid #{{#if:{{{type2|}}}|{{{{{type2|???}}} color}}|{{{{{type|???}}} color light}}}};"
|-
|-
|style="text-align:right;"|HP:
| align="center" |  
!style="text-align:left;"|{{{HP}}}
{| border=1 align="center" style="background: #{{{{{type|???}}} color}}; border:1px solid #{{#if:{{{type2|}}}|{{{{{type2|???}}} color}}|{{{{{type|???}}} color light}}}}; border-collapse:collapse;"
|<div class="statbar" style="background-color: red; width: {{{HP}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! rowspan="2" | Stat
! colspan="2" rowspan="2" | Base
! colspan="2" | At Lv. 50
! colspan="2" | At Lv. 100
|-
|-
|style="text-align:right;"|Attack:
! <small>Min.</small>
!style="text-align:left;"|{{{Attack}}}
! <small>Max.</small>
|<div class="statbar" style="background-color: rgb(240,128,48); width: {{{Attack}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>Min.</small>
! <small>Max.</small>
|-
|-
|style="text-align:right;"|Defense:
|style="text-align:right; background: #FF5555;" | '''[[Stats#Hit Points|{{color|000|HP}}]]:'''
!style="text-align:left;"|{{{Defense}}}
!style="text-align:right;"|{{{HP|1}}}
|<div class="statbar" style="background-color: rgb(248,208,48); width: {{{Defense}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
|<div class="statbar" style="background:#{{hp color}}; width: {{{HP|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50}}}}</small>
! <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (252/4)) * 50/100) + 10 + 50}}}}</small>
! <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 100/100) + 10 + 100}}}}</small>
! <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (252/4)) * 100/100) + 10 + 100}}}}</small>  
|-
|-
|style="text-align:right;"|SpAtk:
|style="text-align:right; background: #F19655;" | '''[[Stats#Attack|{{color|000|Attack}}]]:'''
!style="text-align:left;"|{{{SpAtk}}}
!style="text-align:right;"|{{{Attack|1}}}
|<div class="statbar" style="background-color: rgb(104,144,240); width: {{{SpAtk}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
|<div class="statbar" style="background:#{{attack color}}; width: {{{Attack|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
! <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 100/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|-
|-
|style="text-align:right;"|SpDef:
|style="text-align:right; background: #F8DB69;" | '''[[Stats#Defense|{{color|000|Defense}}]]:'''
!style="text-align:left;"|{{{SpDef}}}
!style="text-align:right;"|{{{Defense|1}}}
|<div class="statbar" style="background-color: rgb(120,200,80); width: {{{SpDef}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
|<div class="statbar" style="background:#{{defense color}}; width: {{{Defense|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 50/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Defense|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
! <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 100/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Defense|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|-
|-
|style="text-align:right;"|Speed:
|style="text-align:right; background: #97B1EF;" | '''[[Stats#Special Attack|{{color|000|Special Attack}}]]:'''
!style="text-align:left;"|{{{Speed}}}
!style="text-align:right;"|{{{SpAtk|1}}}
|<div class="statbar" style="background-color: rgb(248,88,136); width: {{{Speed}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
|<div class="statbar" style="background:#{{special attack color}}; width: {{{SpAtk|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
|}<noinclude>[[Category:Templates]]</noinclude><includeonly>{{#ifeq:{{TALKSPACE}}|Talk|[[Category:Pokémon pages with stats listed]]|[[Category:Userpages which oughtn't have this template on them.]]}}</includeonly>
! <small>{{#expr: floor((((0 + 2 * {{{SpAtk|1}}} + (0/4)) * 50/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{SpAtk|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
! <small>{{#expr: floor((((0 + 2 * {{{SpAtk|1}}} + (0/4)) * 100/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{SpAtk|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|-
|style="text-align:right; background: #8BE75C;" | '''[[Stats#Special Defense|{{color|000|Special Defense}}]]:'''
!style="text-align:right;"|{{{SpDef|1}}}
|<div class="statbar" style="background:#{{special defense color}}; width: {{{SpDef|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>{{#expr: floor((((0 + 2 * {{{SpDef|1}}} + (0/4)) * 50/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{SpDef|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
! <small>{{#expr: floor((((0 + 2 * {{{SpDef|1}}} + (0/4)) * 100/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{SpDef|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|-
|style="text-align:right; background: #F690AE;" | '''[[Stats#Speed|{{color|000|Speed}}]]:'''
!style="text-align:right;"|{{{Speed|1}}}
|<div class="statbar" style="background:#{{speed color}}; width: {{{Speed|1}}}px; height: 10px; border: 1px solid black; overflow: hidden;">&nbsp;</div>
! <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
! <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 100/100) + 5) * .9)}}</small>
! <small>{{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|-
|style="text-align:right;" | '''Total:'''
!style="text-align:right;"|{{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}
| colspan="5" | {{cat|Pokémon with a base stat total of {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}|Other Pokémon with this total}}
|- style="background: #{{{{{type|???}}} color light}}"
| colspan="7" |
*<small>Minimum stats are calculated with 0 [[EVs]], [[IVs]] of 0, and a hindering [[nature]].
*Maximum stats are calculated with 252 EVs, IVs of 31, and a helpful nature.{{#if: {{{Special|}}}|
*This Pokémon's {{background|8EC7BC|&nbsp;Special&nbsp;}} base stat in [[Generation I]] was '''{{{Special}}}'''.}}</small>
|}
|}<noinclude>[[Category:Templates]]</noinclude><includeonly>[[Category:Pokémon with a base stat total of {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}]]{{#ifexpr: ({{{Special|0}}} + {{{SpAtk|1}}} + {{{SpDef|1}}}) div 3 = {{{Special|0}}}|[[Category:Pokémon whose Special stat became both Special Attack and Special Defense]]|}}{{#ifexpr: {{{Special|0}}} = {{{SpAtk|1}}}|[[Category:Pokémon whose Special stat became their Special Attack]]}}{{#ifexpr: {{{Special|0}}} = {{{SpDef|1}}}|[[Category:Pokémon whose Special stat became their Special Defense]]}}{{#ifexpr: {{{HP|1}}} > 100|[[Category:Pokémon whose base HP stat is greater than 100]]}}{{#ifexpr: {{{Attack|1}}} > 100|[[Category:Pokémon whose base Attack stat is greater than 100]]}}{{#ifexpr: {{{Defense|1}}} > 100|[[Category:Pokémon whose base Defense stat is greater than 100]]}}{{#ifexpr: {{{SpAtk|1}}} > 100|[[Category:Pokémon whose base Special Attack stat is greater than 100]]}}{{#ifexpr: {{{SpDef|1}}} > 100|[[Category:Pokémon whose base Special Defense stat is greater than 100]]}}{{#ifexpr: {{{Special|1}}} > 100|[[Category:Pokémon whose base Special stat is greater than 100]]}}{{#ifexpr: {{{Speed|1}}} > 100|[[Category:Pokémon whose base Speed stat is greater than 100]]}}{{#switch: {{{type|???}}}|???=[[Category:Pokémon whose base stats boxes are uncolored]]}}</includeonly>
<br clear="all">

Revision as of 09:11, 6 December 2008

Stat Base At Lv. 50 At Lv. 100
Min. Max. Min. Max.
HP: 1
 
1 1 1 1
Attack: 1
 
5 58 6 111
Defense: 1
 
5 58 6 111
Special Attack: 1
 
5 58 6 111
Special Defense: 1
 
5 58 6 111
Speed: 1
 
5 58 6 111
Total: 6 Other Pokémon with this total
  • Minimum stats are calculated with 0 EVs, IVs of 0, and a hindering nature.
  • Maximum stats are calculated with 252 EVs, IVs of 31, and a helpful nature.