Template:Stats/GenI: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Changing the way that the bars are drawn so that they display at the correct width on vertical mobile) |
m (Hiding bar border if stat is 0) |
||
Line 8: | Line 8: | ||
|- style="background: #{{HP color light}}; text-align:center" | |- style="background: #{{HP color light}}; text-align:center" | ||
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Hit Points|HP}}:</div><div style="float:right">{{{HP|1}}}</div> | ! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Hit Points|HP}}:</div><div style="float:right">{{{HP|1}}}</div> | ||
| style="width:255px" | <div class="statbar" style="background-color: #{{HP color}}; border: | | style="width:255px" | <div class="statbar" style="background-color: #{{HP color}}; border: calc({{{HP|1}}}px/{{{HP|1}}}) solid #{{HP color dark}}; width: calc(100% * {{{HP|1}}}/255); height:20px"></div> | ||
| <small>{{#expr: floor(((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50)}} - {{#expr: floor(((30 + 2 * {{{HP|1}}} + (252/4)) * 50/100) + 10 + 50)}}</small> | | <small>{{#expr: floor(((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50)}} - {{#expr: floor(((30 + 2 * {{{HP|1}}} + (252/4)) * 50/100) + 10 + 50)}}</small> | ||
| <small>{{#expr: floor(((0 + 2 * {{{HP|1}}} + (0/4)) * 100/100) + 10 + 100)}} - {{#expr: floor(((30 + 2 * {{{HP|1}}} + (252/4)) * 100/100) + 10 + 100)}}</small> | | <small>{{#expr: floor(((0 + 2 * {{{HP|1}}} + (0/4)) * 100/100) + 10 + 100)}} - {{#expr: floor(((30 + 2 * {{{HP|1}}} + (252/4)) * 100/100) + 10 + 100)}}</small> | ||
|- style="background: #{{Attack color light}}; text-align:center" | |- style="background: #{{Attack color light}}; text-align:center" | ||
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Attack|Attack}}:</div><div style="float:right">{{{Attack|1}}}</div> | ! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Attack|Attack}}:</div><div style="float:right">{{{Attack|1}}}</div> | ||
| style="width:255px" | <div class="statbar" style="background-color: #{{Attack color}}; border: | | style="width:255px" | <div class="statbar" style="background-color: #{{Attack color}}; border: calc({{{Attack|1}}}px/{{{Attack|1}}}) solid #{{Attack color dark}}; width: calc(100% * {{{Attack|1}}}/255); height:20px"></div> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5))}}</small> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Attack|1}}} + (252/4)) * 100/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Attack|1}}} + (252/4)) * 100/100) + 5))}}</small> | ||
|- style="background: #{{Defense color light}}; text-align:center" | |- style="background: #{{Defense color light}}; text-align:center" | ||
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Defense|Defense}}:</div><div style="float:right">{{{Defense|1}}}</div> | ! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Defense|Defense}}:</div><div style="float:right">{{{Defense|1}}}</div> | ||
| style="width:255px" | <div class="statbar" style="background-color: #{{Defense color}}; border: | | style="width:255px" | <div class="statbar" style="background-color: #{{Defense color}}; border: calc({{{Defense|1}}}px/{{{Defense|1}}}) solid #{{Defense color dark}}; width: calc(100% * {{{Defense|1}}}/255); height:20px"></div> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Defense|1}}} + (252/4)) * 50/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Defense|1}}} + (252/4)) * 50/100) + 5))}}</small> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Defense|1}}} + (252/4)) * 100/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Defense|1}}} + (252/4)) * 100/100) + 5))}}</small> | ||
|- style="background: #AFD7CF<!--{{Special color light}}-->; text-align:center" | |- style="background: #AFD7CF<!--{{Special color light}}-->; text-align:center" | ||
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Special|Special}}:</div><div style="float:right">{{{Special|1}}}</div> | ! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Special|Special}}:</div><div style="float:right">{{{Special|1}}}</div> | ||
| style="width:255px" | <div class="statbar" style="background-color: #8EC7BC<!--{{Special color}}-->; border: | | style="width:255px" | <div class="statbar" style="background-color: #8EC7BC<!--{{Special color}}-->; border: calc({{{Special|1}}}px/{{{Special|1}}}) solid #638B83<!--{{Special color dark}}-->; width: calc(100% * {{{Special|1}}}/255); height:20px"></div> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Special|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Special|1}}} + (252/4)) * 50/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Special|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Special|1}}} + (252/4)) * 50/100) + 5))}}</small> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Special|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Special|1}}} + (252/4)) * 100/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Special|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Special|1}}} + (252/4)) * 100/100) + 5))}}</small> | ||
|- style="background: #{{Speed color light}}; text-align:center" | |- style="background: #{{Speed color light}}; text-align:center" | ||
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Speed|Speed}}:</div><div style="float:right">{{{Speed|1}}}</div> | ! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|Statistic#Speed|Speed}}:</div><div style="float:right">{{{Speed|1}}}</div> | ||
| style="width:255px" | <div class="statbar" style="background-color: #{{Speed color}}; border: | | style="width:255px" | <div class="statbar" style="background-color: #{{Speed color}}; border: calc({{{Speed|1}}}px/{{{Speed|1}}}) solid #{{Speed color dark}}; width: calc(100% * {{{Speed|1}}}/255); height:20px"></div> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5))}}</small> | ||
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Speed|1}}} + (252/4)) * 100/100) + 5))}}</small> | | <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 100/100) + 5))}} - {{#expr: floor((((30 + 2 * {{{Speed|1}}} + (252/4)) * 100/100) + 5))}}</small> |
Revision as of 05:56, 4 May 2019
Stat | Range | ||
---|---|---|---|
At Lv. 50 | At Lv. 100 | ||
HP: 1
|
61 - 107 | 112 - 205 | |
1
|
6 - 52 | 7 - 100 | |
1
|
6 - 52 | 7 - 100 | |
1
|
6 - 52 | 7 - 100 | |
1
|
6 - 52 | 7 - 100 | |
Total: 5
|
(6 on other generations' scale) | ||
|