Template:Performance: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
m (fun case of the inner working of the template using dated terminology)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| align="left" style="background: #{{{{{type|???}}} color}}; -moz-border-radius: 10px; border: 3px solid #{{#if:{{{type2|}}}|{{{{{type2|???}}} color}}|{{{{{type|???}}} color light}}}};"
<includeonly>{| align="left" style="background: #{{{{{type|???}}} color}}; {{roundy|10px}} border: 3px solid #{{{{{type2|{{{type|???}}}}}} color dark}};"
|-
|-
| align="center" style="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #{{speed color}}; -moz-border-radius: 6px;"
{| align="center" style="background: #{{cuteness color}}; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #{{speed color light}}; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #{{cuteness color light}}; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #{{speed color light}}; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[Performance#Speed|{{color|000|Speed}}]]'''
| style="background: #{{cuteness color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Speed|Speed}}'''
|-
|-
| style="background:#{{speed color light}}; border-top: 1px solid #{{speed color}}; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{{SpeedMax|{{{Speed|1}}}}}}
| style="background:#{{cuteness color light}}; border-top: 1px solid #{{cuteness color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Speed|1}}}/{{{SpeedMax|1}}}
| style="background:#{{speed color light}}; border-top: 1px solid #{{speed color}}; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{speed color dark}}|{{stars|{{{SpeedMax|{{{Speed|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}}}}
|}
|}
|}
|}
| align="center" style="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #{{power color}}; -moz-border-radius: 6px;"
{| align="center" style="background: #{{power color}}; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #{{power color light}}; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #{{power color light}}; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #{{power color light}}; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[Performance#Power|{{color|000|Power}}]]'''
| 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}}; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{{PowerMax|{{{Power|1}}}}}}
| 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}}; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{power color dark}}|{{stars|{{{PowerMax|{{{Power|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="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #{{technique color}}; -moz-border-radius: 6px;"
{| align="center" style="background: #{{skill color}}; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #{{technique color light}}; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #{{skill color light}}; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #{{technique color light}}; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[Performance#Technique|{{color|000|Technique}}]]'''
| style="background: #{{skill color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Skill|Skill}}'''
|-
|-
| style="background:#{{technique color light}}; border-top: 1px solid #{{technique color}}; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{{Technique|{{{Technique|1}}}}}}
| style="background:#{{skill color light}}; border-top: 1px solid #{{skill color}}; {{roundybl|3px}}" width="40px" align="center" | {{{Technique|1}}}/{{{TechniqueMax|1}}}
| style="background:#{{technique color light}}; border-top: 1px solid #{{technique color}}; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{technique color dark}}|{{stars|{{{TechniqueMax|{{{Technique|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="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #{{stamina color}}; -moz-border-radius: 6px;"
{| align="center" style="background: #{{stamina color}}; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #{{stamina color light}}; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #{{stamina color light}}; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #{{stamina color light}}; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[Performance#Stamina|{{color|000|Stamina}}]]'''
| 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}}; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{{StaminaMax|{{{Stamina|1}}}}}}
| 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}}; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{stamina color dark}}|{{stars|{{{StaminaMax|{{{Stamina|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="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #{{jump color}}; -moz-border-radius: 6px;"
{| align="center" style="background: #{{jump color}}; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #{{jump color light}}; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #{{jump color light}}; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #{{jump color light}}; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[Performance#Jump|{{color|000|Jump}}]]'''
| style="background: #{{jump color light}}; {{roundytop|3px}}" colspan="2" | '''{{color2|000000|Performance#Jump|Jump}}'''
|-
|-
| style="background:#{{jump color light}}; border-top: 1px solid #{{jump color}}; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{{JumpMax|{{{Jump|1}}}}}}
| 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}}; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{jump color dark}}|{{stars|{{{JumpMax|{{{Jump|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}}}}
|}
|}
|}
|}
| align="center" style="-moz-border-radius: 6px;" |  
| align="center" style="{{roundy|6px}}" |  
{| align="center" style="background: #4A4A4A; -moz-border-radius: 6px;"
{| align="center" style="background: #4A4A4A; {{roundy|6px}}"
|  
|  
{| align="center" style="background: #FFFFFF; -moz-border-radius: 6px; border-collapse:collapse;"
{| align="center" style="background: #FFFFFF; {{roundy|6px}} border-collapse:collapse;"
|-
|-
| style="background: #FFFFFF; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px;" colspan="2" | '''[[:Category: Pokémon with {{#expr: {{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}}} max performance stars|{{color|000|Total}}]]'''
| 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; -moz-border-radius-bottomleft: 3px" width="40px" align="center" | {{#expr: {{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}}}
| 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; -moz-border-radius-bottomright: 3px" width="70px" | {{color|{{gold color}}|{{stars|{{#expr: floor (({{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}) div 5)}}}}}}
| 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}}}}
|}
|}
|}
|}
|}<noinclude>[[Category:Templates]]</noinclude><includeonly>[[Category:Pokémon with {{#expr: {{{Speed|1}}} + {{{Power|1}}} + {{{Technique|1}}} + {{{Stamina|1}}} + {{{Jump|1}}}}} max performance stars]]{{#ifexpr: {{{SpeedMax|0}}} + {{{PowerMax|0}}} + {{{TechniqueMax|0}}} + {{{StaminaMax|0}}} + {{{JumpMax|0}}} = 0|[[Category:Pokémon with a broken Pokéthlon template]]}}</includeonly>
|}<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>
<br clear="all">
{{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
}}
Speed
2/3 ★★
Power
2/3 ★★
Skill
3/4 ★★★
Stamina
3/4 ★★★
Jump
3/3 ★★★
Total
13/17 ★★

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
}}
Speed
5/5 ★★★★★
Power
3/5 ★★★☆☆
Skill
5/5 ★★★★★
Stamina
3/4 ★★★
Jump
3/4 ★★★
Total
19/23 ★★★