Template:PokemonTile

Template page
Revision as of 20:58, 22 October 2025 by Trrgtw (talk | contribs) (documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Template:PokemonTile is used to display a Pokémon's sprite, name, and number inside a table cell.

Usage

{{PokemonTile|name=|number=|type=}}
  • name is the Pokémon's name. This must be the exact name of its page on the wiki, otherwise a red link will be produced.
  • number is the Pokémon's National Pokédex number. It is additionally used to get the sprite image, where the file is assumed to be at [[File:<number>MS.png]].
  • type is not directly visible – it is used to set the background color of the cell. If a Pokémon has two types, choose the first one. The type must be lowercase to match class names listed at MediaWiki:Common.css.

Example

{| style="text-align: center"
| {{PokemonTile|name=Pikachu|number=025|type=electric}}
| {{PokemonTile|name=Charmander|number=004|type=fire}}
| {{PokemonTile|name=Squirtle|number=007|type=water}}
|}

Produces:

Pikachu
#025
Pikachu
Charmander
#004
Charmander
Squirtle
#007
Squirtle