The BulbaWiki network will be locked from editing starting at Sunday, February 9 at 7PM UTC in order for us to upgrade our MediaWiki version. The lock will likely last approximately 48 hours.
During this time, you can follow our social media for updates, check the Bulbagarden home page for up-to-date Pokémon news, and discuss it on the forums or in the Bulbagarden Discord server.
During this time, you can follow our social media for updates, check the Bulbagarden home page for up-to-date Pokémon news, and discuss it on the forums or in the Bulbagarden Discord server.
Template:ActivePoké: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
ElectAbuzzzz (talk | contribs) Created page with '<noinclude>{| align="center" width="100%" |- | </noinclude>width="33%" align="center" style="-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; -moz-border-radius…' |
documentation |
||
(12 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>width="33%" style="text-align:center; {{roundy|5px}} background: #{{{{{4|electric}}} color}}; border: 3px solid #{{{{{5|{{{4|electric}}}}}} color dark}}" | [[File:{{{3|Ash Pikachu.png}}}|{{{size|250px}}}]]<br>'''{{#ifeq: {{{link|}}}|no|[[{{{2|Pikachu}}} (Pokémon)|{{color|000|{{{disp|{{{nick|{{#if: {{{fir|}}}|{{{fir|}}} → }}{{#if: {{{mid|}}}|{{{mid|}}} → }}{{{2|Pikachu}}}}}}}}}}}]]|[[{{{link|{{{nick|{{{1|Ash}}}'s {{{2|Pikachu}}}}}}}}}|{{color|000|{{{disp|{{{nick|{{#if: {{{fir|}}}|{{{fir|}}} → }}{{#if: {{{mid|}}}|{{{mid|}}} → }}{{{2|Pikachu}}}}}}}}}}}]]}}'''</includeonly><noinclude> | ||
{{documentation}} | |||
[[Category:Table templates]]</noinclude> | |||
Latest revision as of 01:27, 19 February 2024
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
This template generates a box representing a Pokémon. It is generally used for lists of a trainer's active Pokémon (ones on hand, in their party, that they're traveling with, etc).
- For inactive Pokémon, use
{{InactivePoké}}
instead. The main difference is that ActivePoké boxes are bigger and require a 3-column table, while InactivePoké boxes are smaller and require a 4-column table.
This template should only be called from within a table cell. The table should have 3 columns.
Template fields
- field 1 (Trainer name) - The Pokémon's trainer.
- field 2 (Pokémon species name) - The name of the Pokémon's species.
- field 3 (Image file name) - The name of the image file to display
- size - The size of the image file. Defaults to 250px.
- field 4 (Type 1) - The Pokémon's primary type, to color the background. If there's no secondary type, this also colors the border.
- field 5 (Type 2) - The Pokémon's secondary type, to color the border.
- link - Overrides the link, but leaves the text untouched. By default, the link will be
(field 1)'s (field 2)
, for example Ash's Pikachu.- If set to "no", then the link will point to the Pokémon's species page instead of a trainer's Pokémon page. For example: Pikachu (Pokémon) instead of Ash's Pikachu.
- disp - Overrides the displayed text, but leaves the link untouched.
- fir - The Pokémon's first form. Used for Pokémon that have evolved or otherwise changed form (egg, revived fossil, etc) since their first appearance.
- mid - The Pokémon's middle form.
- If the Pokémon's final listed form is not just their species (example: Mega, Gigantamax, etc), then use disp to override the entire displayed text.
- nick - The Pokémon's nickname. Overrides the link and displayed text.
Examples
Standard use
{| width="100%" |- | {{ActivePoké|Ash|Lapras|Ash Lapras.png|water|ice|size=200px}} | | |}
![]() Lapras |
First and middle forms
{| width="100%" |- | {{ActivePoké|Ash|Goodra|Ash Goodra.png|dragon|fir=Goomy|mid=Sliggoo|size=200px}} | | |}
![]() Goomy → Sliggoo → Goodra |
Display override
{| width="100%" |- | {{ActivePoké|Ash|Greninja|Ash Greninja.png|water|dark|disp=Froakie → Frogadier → Greninja ↔ Ash-Greninja|size=200px}} | | |}
![]() Froakie → Frogadier → Greninja ↔ Ash-Greninja |
Nicknamed
{| width="100%" |- | {{ActivePoké|Ritchie|Pikachu|Ritchie Sparky.png|electric|nick=Sparky|size=200px}} | | |}
![]() Sparky |