Template talk:Stats/GenI
Usage
{{BaseStats/GenI|
HP= |
Attack= |
Defense= |
Special= |
Speed= }}
Output
Stat | Range | ||
---|---|---|---|
At Lv. 50 | At Lv. 100 | ||
HP: 65
|
125 - 171 | 240 - 333 | |
125
|
130 - 176 | 255 - 348 | |
100
|
105 - 151 | 205 - 298 | |
55
|
60 - 106 | 115 - 208 | |
85
|
90 - 136 | 175 - 268 | |
Total: 430
|
(485 on other generations' scale) | ||
|
Formulas are wrong
Read here Stat#In_Generations_I_and_II. Also, in Generation I and II, EVs are out of 65535.
The correct formulas are:
- unsigned comment from SnorlaxMonster (talk • contribs)
The 252 needs to be changed, though - to 63504. Ztobor 18:56, 31 July 2010 (UTC)
Fixing an error
There's an error in this template. When the stat is less than 9 the border for the statbar disappears. This could be easily fixed by replacing the "999" with "{{{Special|1}}}" so it always divides by itself giving the border width of 1px for all values except for 0 where it would be 0px:
- border: calc({{{Special|1}}}px/{{{Special|1}}}) solid #638B83<!--{{Special color dark}}-->;
you could also divide by "({{{Special|1}}} + 0.5)" if you're afraid of dividing by 0, but it works fine on my screen. Or this template could just always use 1px for all the borders which would be even simpler.--Rocket Grunt 15:21, 23 October 2022 (UTC)