Template:InactivePoké: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Protected "Template:InactivePoké": High-use template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(documentation) |
||
Line 1: | Line 1: | ||
< | <includeonly>style="text-align: center; {{roundy|5px}} background: #{{{{{4|electric}}} color}}; border: 3px solid #{{{{{5|{{{4|electric}}}}}} color dark}}; width: 25%; font-weight: bold;" | [[File:{{{3|Ash Pikachu.png}}}|{{{size|150px}}}]]<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:32, 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 inactive Pokémon (ones in storage, with someone else, etc).
- For active Pokémon, use
{{ActivePoké}}
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 4 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%" |- | {{InactivePoké|Ash|Lapras|Ash Lapras.png|water|ice|size=200px}} | | | |}
Lapras |
First and middle forms
{| width="100%" |- | {{InactivePoké|Ash|Goodra|Ash Goodra.png|dragon|fir=Goomy|mid=Sliggoo|size=200px}} | | | |}
Goomy → Sliggoo → Goodra |
Display override
{| width="100%" |- | {{InactivePoké|Ash|Greninja|Ash Greninja.png|water|dark|disp=Froakie → Frogadier → Greninja ↔ Ash-Greninja|size=200px}} | | | |}
Froakie → Frogadier → Greninja ↔ Ash-Greninja |
Nicknamed
{| width="100%" |- | {{InactivePoké|Ritchie|Pikachu|Ritchie Sparky.png|electric|nick=Sparky|size=200px}} | | | |}
Sparky |