Template:Performance: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with '{| align="left" style="background: #{{{{{type|???}}} color}}; -moz-border-radius: 1em; border: 3px solid #{{#if:{{{type2|}}}|{{{{{type2|???}}} color}}|{{{{{type|???}}} color ligh…') |
m (fun case of the inner working of the template using dated terminology) |
||
(28 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| align="left" style="background: #{{{{{type|???}}} color}}; | <includeonly>{| align="left" style="background: #{{{{{type|???}}} color}}; {{roundy|10px}} border: 3px solid #{{{{{type2|{{{type|???}}}}}} color dark}};" | ||
|- | |- | ||
| align="center" | | | align="center" style="{{roundy|6px}}" | | ||
{| | {| align="center" style="background: #{{cuteness color}}; {{roundy|6px}}" | ||
| | |||
{| align="center" style="background: #{{cuteness color light}}; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |- | ||
| style="background: # | | style="background: #{{cuteness color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Speed|Speed}}''' | ||
|- | |- | ||
| style="background: # | | style="background:#{{cuteness color light}}; border-top: 1px solid #{{cuteness color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Speed|1}}}/{{{SpeedMax|1}}} | ||
| style="background:#{{cuteness color light}}; border-top: 1px solid #{{cuteness color}}; {{roundybr|3px}}" width="70px" | {{color|{{cuteness color dark}}|{{stars|{{{Speed|1}}}}}{{stars|{{#expr:{{{SpeedMax|1}}}-{{{Speed|1}}}}}|clear}}}} | |||
| style="background:#{{ | |} | ||
|} | |||
| align="center" style="{{roundy|6px}}" | | |||
{| align="center" style="background: #{{power color}}; {{roundy|6px}}" | |||
| | |||
{| align="center" style="background: #{{power color light}}; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |||
| style="background: #{{power color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Power|Power}}''' | |||
|- | |||
| style="background:#{{power color light}}; border-top: 1px solid #{{power color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Power|1}}}/{{{PowerMax|1}}} | |||
| style="background:#{{power color light}}; border-top: 1px solid #{{power color}}; {{roundybr|3px}}" width="70px" | {{color|{{power color dark}}|{{stars|{{{Power|1}}}}}{{stars|{{#expr:{{{PowerMax|1}}}-{{{Power|1}}}}}|clear}}}} | |||
|} | |||
|} | |||
|- | |||
| align="center" style="{{roundy|6px}}" | | |||
{| align="center" style="background: #{{skill color}}; {{roundy|6px}}" | |||
| | |||
{| align="center" style="background: #{{skill color light}}; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |||
| style="background: #{{skill color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Skill|Skill}}''' | |||
|- | |||
| style="background:#{{skill color light}}; border-top: 1px solid #{{skill color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Technique|1}}}/{{{TechniqueMax|1}}} | |||
| style="background:#{{skill color light}}; border-top: 1px solid #{{skill color}}; {{roundybr|3px}}" width="70px" | {{color|{{skill color dark}}|{{stars|{{{Technique|1}}}}}{{stars|{{#expr:{{{TechniqueMax|1}}}-{{{Technique|1}}}}}|clear}}}} | |||
|} | |||
|} | |||
| align="center" style="{{roundy|6px}}" | | |||
{| align="center" style="background: #{{stamina color}}; {{roundy|6px}}" | |||
| | |||
{| align="center" style="background: #{{stamina color light}}; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |||
| style="background: #{{stamina color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Stamina|Stamina}}''' | |||
|- | |||
| style="background:#{{stamina color light}}; border-top: 1px solid #{{stamina color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Stamina|1}}}/{{{StaminaMax|1}}} | |||
| style="background:#{{stamina color light}}; border-top: 1px solid #{{stamina color}}; {{roundybr|3px}}" width="70px" | {{color|{{stamina color dark}}|{{stars|{{{Stamina|1}}}}}{{stars|{{#expr:{{{StaminaMax|1}}}-{{{Stamina|1}}}}}|clear}}}} | |||
|} | |||
|} | |||
|- | |- | ||
| | | align="center" style="{{roundy|6px}}" | | ||
{| align="center" style="background: #{{jump color}}; {{roundy|6px}}" | |||
| style="background:#{{ | | | ||
{| align="center" style="background: #{{jump color light}}; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |- | ||
| style="background: # | | style="background: #{{jump color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Jump|Jump}}''' | ||
|- | |- | ||
| style="background: # | | style="background:#{{jump color light}}; border-top: 1px solid #{{jump color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Jump|1}}}/{{{JumpMax|1}}} | ||
| style="background:#{{jump color light}}; border-top: 1px solid #{{jump color}}; {{roundybr|3px}}" width="70px" | {{color|{{jump color dark}}|{{stars|{{{Jump|1}}}}}{{stars|{{#expr:{{{JumpMax|1}}}-{{{Jump|1}}}}}|clear}}}} | |||
| style="background:#{{ | |} | ||
|} | |||
| align="center" style="{{roundy|6px}}" | | |||
{| align="center" style="background: #4A4A4A; {{roundy|6px}}" | |||
| | |||
{| align="center" style="background: #FFFFFF; {{roundy|6px}} border-collapse:collapse;" | |||
|- | |||
| style="background: #FFFFFF; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|:Category: Pokémon with {{#expr: {{{SpeedMax|1}}} + {{{PowerMax|1}}} + {{{TechniqueMax|1}}} + {{{StaminaMax|1}}} + {{{JumpMax|1}}}}} max performance stars|Total}}''' | |||
|- | |||
| style="background:#FFFFFF; border-top: 1px solid #4A4A4A; {{roundybl|3px}}" width="40px" align="center" | {{#expr: {{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}}}/{{#expr: {{{SpeedMax|1}}} + {{{PowerMax|1}}} + {{{TechniqueMax|1}}} + {{{StaminaMax|1}}} + {{{JumpMax|1}}}}} | |||
| style="background:#FFFFFF; border-top: 1px solid #4A4A4A; {{roundybr|3px}}" width="70px" | {{color|{{gold color}}|{{stars|{{#expr: floor (({{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}) div 5)}}}}}}{{color|{{gold color}}|{{stars|{{#expr: (floor(({{{SpeedMax|1}}} + {{{PowerMax|1}}} + {{{TechniqueMax|1}}} + {{{StaminaMax|1}}} + {{{JumpMax|1}}}) div 5)) - (floor(({{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}) div 5))}}|clear}}}} | |||
|} | |||
|} | |} | ||
|}< | |}<br clear="all">{{#if:{{{nocat|}}}||[[Category: Pokémon with {{#expr: {{{SpeedMax|1}}} + {{{PowerMax|1}}} + {{{TechniqueMax|1}}} + {{{StaminaMax|1}}} + {{{JumpMax|1}}}}} max performance stars]]}}</includeonly><noinclude> | ||
< | {{documentation}} | ||
[[Category:Table templates]]</noinclude> |
Latest revision as of 20:09, 31 March 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
This template displays Pokéathlon stats for Pokémon species pages.
"Template:Pokéthlon" will redirect to this template.
Usage
{{Performance |type= |type2= |Speed= |SpeedMax= |Power= |PowerMax= |Technique= |TechniqueMax= |Stamina= |StaminaMax= |Jump= |JumpMax= }}
Template fields
- type - The Pokémon's primary type.
- type2 (optional) - The Pokémon's secondary type, if they have one.
- Speed - The Pokémon's starting Speed stat.
- SpeedMax - The Pokémon's maximum Speed stat.
- Power - The Pokémon's starting Power stat.
- PowerMax - The Pokémon's maximum Power stat.
- Technique - The Pokémon's starting Technique stat.
- TechniqueMax - The Pokémon's maximum Technique stat.
- Stamina - The Pokémon's starting Stamina stat.
- StaminaMax - The Pokémon's maximum Stamina stat.
- Jump - The Pokémon's starting Jump stat.
- JumpMax - The Pokémon's maximum Jump stat.
- nocat (optional) - Set to 1 to disable category creation.
Examples
Bulbasaur
{{Performance |type=Grass |type2=Poison |Speed=2 |SpeedMax=3 |Power=2 |PowerMax=3 |Technique=3 |TechniqueMax=4 |Stamina=3 |StaminaMax=4 |Jump=3 |JumpMax=3 |nocat=1 }}
|
| ||||||||||
|
| ||||||||||
|
|
Mewtwo
{{Pokéthlon |type=Psychic |Speed=5 |SpeedMax=5 |Power=3 |PowerMax=5 |Technique=5 |TechniqueMax=5 |Stamina=3 |StaminaMax=4 |Jump=3 |JumpMax=4 |nocat=1 }}
|
| ||||||||||
|
| ||||||||||
|
|