Template:LegendaryPokemon: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
Cae (talk | contribs)
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#var:arrayregistered}} != 1|{{PokemonArray}}{{#vardefine:arrayregistered|1}}}}{{Trichrome|Color={{#var:region}}}}{{#vardefine:iteration|{{#arraysearch:pname|{{{Name}}}}}}}
<noinclude>Unified template for Legendary/Mythical Pokémon cards — handles both a single Pokémon and a group of up to 5 (duo/trio/quartet/quintet) with one call.
{{Trichrome|Color={{#arrayindex:type1|{{#var:iteration}}}}}}{{#vardefine:generation|{{#switch: {{#arrayindex:gen|{{#var:iteration}}}} | 1 = I | 2 = II | 3 = III | 4 = IV | 5 = V | 6 = VI | 7 = VII}}}}
===Individuals===
<table style="background-color: {{#var:background}}; border-radius: 25px; border: 1px solid {{#var:border}}; width: 50%; padding: 3px; text-align: center;">
{{LegendaryPokemon|Name=Mewtwo|Requirements=Mewtwo is currently uncatchable. However, it can still be battled to register its seen-data and rebattled to register its caught-data entry on the [[Pokédex]]}}
<tr><td width="100%"><div style="background-color: {{#var: cell}}; margin: auto auto; border-radius: 25px; border: 1px solid {{#var:border}};color: {{#var:border}}; width: 50%;">#{{#arrayindex:number|{{#var:iteration}}}}&nbsp;<span style="font-weight: bold; font-size: large;">[[{{{Name}}}|<span style="color: {{#var:border}};">{{{Name}}}</span>]]</span><br><span style="font-size: small;">[[:Category:Generation {{#var:generation}} Pokémon|<span style="color: {{#var:border}}; font-weight: bold;">Generation {{#var:generation}}</span>]]</span></div>
===Duos===
</tr>
{{LegendaryPokemon|Name=Tower duo|Requirements=They are currently uncatchable. However, they can still be battled to register their seen-data and rebattled to register their caught-data entry on the [[Pokédex]].|Pokemon=Lugia\Ho-Oh}}
<tr>
===Trios===
<td style="border-radius: 15px; margin: auto auto; 5px; text-align: center; padding: 5px;"><div style="margin: auto auto; background-color: #FFFFFF; border-radius: 25px; width: 50%; border: 1px solid {{#var:border}};">[[File:{{#arrayindex:number|{{#var:iteration}}}}{{#arrayindex:pname|{{#var:iteration}}}}.png|150px]]</div></td></tr>
{{LegendaryPokemon|Name=Legendary Birds|Requirements=All three of the Birds are catchable upon completion of the [[Legendary Birds (quest)|Legendary Birds quest]].|Pokemon=Articuno\Zapdos\Moltres}}
<tr>
===Quartets===
<td>
{{LegendaryPokemon|Name=Tapu Guardians|Requirements=Currently not catchable|Pokemon=Tapu Koko\Tapu Lele\Tapu Bulu\Tapu Fini}}
<table align="center" style="width: 25%; font-weight: bold;">
</noinclude>
<tr>
 
{{#if:{{#arrayindex:type2|{{#var:iteration}}}}|
 
<td style="width: 50%; background-color: {{#var: border}}; border-radius: 25px 1px 1px 25px;">[[{{#arrayindex:type1|{{#var:iteration}}}}_(type)|<span style="color: #FFFFFF;">{{#arrayindex:type1|{{#var:iteration}}}}</span>]]</td>
[[Category:Raw Data Lists]]
{{Trichrome|Color={{#arrayindex:type2|{{#var:iteration}}}}}}<td style="width: 50%; background-color: {{#var: border}}; border-radius: 1px 25px 25px 1px;">[[{{#arrayindex:type2|{{#var:iteration}}}}_(type)|<span style="color: #FFFFFF;">{{#arrayindex:type2|{{#var:iteration}}}}</span>]]</td>{{Trichrome|Color={{#arrayindex:type1|{{#var:iteration}}}}}}|<td style="width:100%; background-color: {{#var:border}}; border-radius: 25px;">[[{{#arrayindex:type1|{{#var:iteration}}}}_(type)|<span style="color: #FFFFFF;">{{#arrayindex:type1|{{#var:iteration}}}}</span>]]</td>
<includeonly>{{#invoke:LegendaryPokemon|card}}</includeonly>
}}
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table style="width: 100%; font-weight: bold;">
<tr>
<td style="background-color: #{{HP_color_dark}}; color: #{{HP_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">HP</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{HP_color_light}}; color: #{{HP_color_dark}};"><div style="background-color: #{{HP_color}}; border: 1px solid #{{HP_color_dark}}; width: {{#expr:{{#arrayindex:hp|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:hp|{{#var:iteration}}}}</div></td>
</tr>
<tr>
<td style="background-color: #{{Attack_color_dark}}; color: #{{Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Attack</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Attack_color_light}}; color: #{{Attack_color_dark}};"><div style="background-color: #{{Attack_color}}; border: 1px solid #{{Attack_color_dark}}; width: {{#expr:{{#arrayindex:atk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:atk|{{#var:iteration}}}}</div></td>
</tr>
<tr>
<td style="background-color: #{{Defense_color_dark}}; color: #{{Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Defense</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Defense_color_light}}; color: #{{Defense_color_dark}};"><div style="background-color: #{{Defense_color}}; border: 1px solid #{{Defense_color_dark}}; width: {{#expr:{{#arrayindex:def|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:def|{{#var:iteration}}}}</div></td>
</tr>
<tr>
<td style="background-color: #{{Special Attack_color_dark}}; color: #{{Special Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Special Attack</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Attack_color_light}}; color: #{{Special Attack_color_dark}};"><div style="background-color: #{{Special Attack_color}}; border: 1px solid #{{Special Attack_color_dark}}; width: {{#expr:{{#arrayindex:spatk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spatk|{{#var:iteration}}}}</div></td>
</tr>
<tr>
<td style="background-color: #{{Special Defense_color_dark}}; color: #{{Special Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Special Defense</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Defense_color_light}}; color: #{{Special Defense_color_dark}};"><div style="background-color: #{{Special Defense_color}}; border: 1px solid #{{Special Defense_color_dark}}; width: {{#expr:{{#arrayindex:spdef|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spdef|{{#var:iteration}}}}</div></td>
</tr>
<tr>
<td style="background-color: #{{Speed_color_dark}}; color: #{{Speed_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Speed</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Speed_color_light}}; color: #{{Speed_color_dark}};"><div style="background-color: #{{Speed_color}}; border: 1px solid #{{Speed_color_dark}}; width: {{#expr:{{#arrayindex:spd|{{#var:iteration}}}}/0.55}}px;">{{#arrayindex:spd|{{#var:iteration}}}}</div>
</td>
</tr>{{Trichrome|Color=Typeless}}
<td style="background-color: {{#var:border}}; color: {{#var:cell}}; border-radius: 25px 1px 1px 25px; width: 16%;">Total</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: {{#var:cell}}; color: {{#var:border}}; text-align: left; padding-left: 5px;">{{#expr:{{#arrayindex:hp|{{#var:iteration}}}}+{{#arrayindex:atk|{{#var:iteration}}}}+{{#arrayindex:def|{{#var:iteration}}}}+{{#arrayindex:spatk|{{#var:iteration}}}}+{{#arrayindex:spdef|{{#var:iteration}}}}+{{#arrayindex:spd|{{#var:iteration}}}}}}
</td>
</table>
</td>
</tr>
<tr>
<td>{{Trichrome|Color={{#arrayindex:type1|{{#var:iteration}}}}}}
<table style="border-radius: 25px; border: 1px solid {{#var:border}}; width: 100%; background-color: #FFFFFF;background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; width: 100%; padding: 3px;">
<tr><th style="color: {{#var:border}}; font-weight: bold;">
Availability
</th></tr>
<tr><td style="background-color: #FFFFFF; color: #000000; border-radius: 25px; font-weight: normal; text-align: left; border: 1px solid {{#var:border}}; width: 90%;"><p style="padding-left: 8px;">{{{Requirements}}}</p></td></tr>
</table>
</tr>
</table></includeonly>

Latest revision as of 18:47, 4 August 2026

Unified template for Legendary/Mythical Pokémon cards — handles both a single Pokémon and a group of up to 5 (duo/trio/quartet/quintet) with one call.

Individuals

Psychic
HP
106
Attack
110
Defense
90
Sp. Atk
154
Sp. Def
90
Speed
130
Total: 680
Mewtwo is currently uncatchable. However, it can still be battled to register its seen-data and rebattled to register its caught-data entry on the Pokédex

Duos

Tower duo
Generation II
#249 Lugia
PsychicFlying
HP
106
Attack
90
Defense
130
Sp. Atk
90
Sp. Def
154
Speed
110
Total: 680
#250 Ho-Oh
FireFlying
HP
106
Attack
130
Defense
90
Sp. Atk
110
Sp. Def
154
Speed
90
Total: 680
Availability
They are currently uncatchable. However, they can still be battled to register their seen-data and rebattled to register their caught-data entry on the Pokédex.

Trios

Legendary Birds
Generation I
#144 Articuno
IceFlying
HP
90
Attack
85
Defense
100
Sp. Atk
95
Sp. Def
125
Speed
85
Total: 580
#145 Zapdos
ElectricFlying
HP
90
Attack
90
Defense
85
Sp. Atk
125
Sp. Def
90
Speed
100
Total: 580
#146 Moltres
FireFlying
HP
90
Attack
100
Defense
90
Sp. Atk
125
Sp. Def
85
Speed
90
Total: 580
Availability
All three of the Birds are catchable upon completion of the Legendary Birds quest.

Quartets

Tapu Guardians
Generation VII
#785 Tapu Koko
ElectricFairy
HP
70
Attack
115
Defense
85
Sp. Atk
95
Sp. Def
75
Speed
130
Total: 570
#786 Tapu Lele
PsychicFairy
HP
70
Attack
85
Defense
75
Sp. Atk
130
Sp. Def
115
Speed
95
Total: 570
#787 Tapu Bulu
GrassFairy
HP
70
Attack
130
Defense
115
Sp. Atk
85
Sp. Def
95
Speed
75
Total: 570
#788 Tapu Fini
WaterFairy
HP
70
Attack
75
Defense
115
Sp. Atk
95
Sp. Def
130
Speed
85
Total: 570
Availability
Currently not catchable