Difference between revisions of "Template:Stats"
From Pixelmon Wiki
Line 10: | Line 10: | ||
| | | | ||
{| style="background: #{{HP color}}; border: 1px solid #{{HP color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{HP color}}; border: 1px solid #{{HP color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{HP color light}}; width: 75px;" | + | ! style="background: #{{HP color light}}; width: 75px;" | HP: |
! style="background: #{{HP color light}}; width: 30px;" | {{{HP|1}}} | ! style="background: #{{HP color light}}; width: 30px;" | {{{HP|1}}} | ||
− | | style="width: {{{HP|1}}}px;" | | + | | style="width: {{#expr:255-{{{HP|1}}}+1}}px;" | |
|} | |} | ||
! <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50}}}} - {{#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)) * 50/100) + 10 + 50}}}} - {{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (252/4)) * 50/100) + 10 + 50}}}}</small> | ||
Line 19: | Line 19: | ||
| | | | ||
{| style="background: #{{Attack color}}; border: 1px solid #{{Attack color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{Attack color}}; border: 1px solid #{{Attack color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{Attack color light}}; width: 75px;" | | + | ! style="background: #{{Attack color light}}; width: 75px;" | Attack: |
! style="background: #{{Attack color light}}; width: 30px;" | {{{Attack|1}}} | ! style="background: #{{Attack color light}}; width: 30px;" | {{{Attack|1}}} | ||
− | | style="width: {{{Attack|1}}}px;" | | + | | style="width: {{#expr:255-{{{Attack|1}}}}}px;" | |
|} | |} | ||
! <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ! <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ||
Line 28: | Line 28: | ||
| | | | ||
{| style="background: #{{Defense color}}; border: 1px solid #{{Defense color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{Defense color}}; border: 1px solid #{{Defense color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{Defense color light}}; width: 75px;" | | + | ! style="background: #{{Defense color light}}; width: 75px;" | Defense: |
! style="background: #{{Defense color light}}; width: 30px;" | {{{Defense|1}}} | ! style="background: #{{Defense color light}}; width: 30px;" | {{{Defense|1}}} | ||
− | | style="width: {{{Defense|1}}}px;" | | + | | style="width: {{#expr:255-{{{Defense|1}}}}}px;" | |
|} | |} | ||
! <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Defense|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ! <small>{{#expr: floor((((0 + 2 * {{{Defense|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Defense|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ||
Line 37: | Line 37: | ||
| | | | ||
{| style="background: #{{Special Attack color}}; border: 1px solid #{{Special Attack color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{Special Attack color}}; border: 1px solid #{{Special Attack color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{Special Attack color light}}; width: 75px;" | + | ! style="background: #{{Special Attack color light}}; width: 75px;" | Sp.Atk: |
! style="background: #{{Special Attack color light}}; width: 30px;" | {{{SpAtk|1}}} | ! style="background: #{{Special Attack color light}}; width: 30px;" | {{{SpAtk|1}}} | ||
− | | style="width: {{{SpAtk|1}}}px;" | | + | | style="width: {{#expr:255-{{{SpAtk|1}}}}}px;" | |
|} | |} | ||
! <small>{{#expr: floor((((0 + 2 * {{{SpAtk|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{SpAtk|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ! <small>{{#expr: floor((((0 + 2 * {{{SpAtk|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{SpAtk|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ||
Line 46: | Line 46: | ||
| | | | ||
{| style="background: #{{Special Defense color}}; border: 1px solid #{{Special Defense color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{Special Defense color}}; border: 1px solid #{{Special Defense color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{Special Defense color light}}; width: 75px;" | + | ! style="background: #{{Special Defense color light}}; width: 75px;" | Sp.Def: |
! style="background: #{{Special Defense color light}}; width: 30px;" | {{{SpDef|1}}} | ! style="background: #{{Special Defense color light}}; width: 30px;" | {{{SpDef|1}}} | ||
− | | style="width: {{{SpDef|1}}}px;" | | + | | style="width: {{#expr:255-{{{SpDef|1}}}}}px;" | |
|} | |} | ||
! <small>{{#expr: floor((((0 + 2 * {{{SpDef|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{SpDef|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ! <small>{{#expr: floor((((0 + 2 * {{{SpDef|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{SpDef|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ||
Line 55: | Line 55: | ||
| | | | ||
{| style="background: #{{Speed color}}; border: 1px solid #{{Speed color dark}};" cellspacing="0" cellpadding="0" | {| style="background: #{{Speed color}}; border: 1px solid #{{Speed color dark}};" cellspacing="0" cellpadding="0" | ||
− | ! style="background: #{{Speed color light}}; width: 75px;" | | + | ! style="background: #{{Speed color light}}; width: 75px;" | Speed: |
! style="background: #{{Speed color light}}; width: 30px;" | {{{Speed|1}}} | ! style="background: #{{Speed color light}}; width: 30px;" | {{{Speed|1}}} | ||
− | | style="width: {{{Speed|1}}}px;" | | + | | style="width: {{#expr:255-{{{Speed|1}}}}}px;" | |
|} | |} | ||
! <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ! <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small> | ||
Line 66: | Line 66: | ||
! style="background: #{{{{{type|???}}} color light}}; width: 75px;" | Total: | ! style="background: #{{{{{type|???}}} color light}}; width: 75px;" | Total: | ||
! style="background: #{{{{{type|???}}} color light}}; width: 30px;" | {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}} | ! style="background: #{{{{{type|???}}} color light}}; width: 30px;" | {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}} | ||
− | |||
|} | |} | ||
|- | |- |
Revision as of 16:12, 9 May 2014
Stat | Range | ||||
---|---|---|---|---|---|
At Lv. 50 | At Lv. 100 | ||||
|
1 - 1 | 1 - 1 | |||
|
5 - 58 | 6 - 111 | |||
|
5 - 58 | 6 - 111 | |||
|
5 - 58 | 6 - 111 | |||
|
5 - 58 | 6 - 111 | |||
|
5 - 58 | 6 - 111 | |||
| |||||