Template:PokemonTile/doc: Difference between revisions

Template page
(Created page with "'''Template:PokemonTile''' is used to display a Pokémon's sprite, name, and number inside a table cell. ==Usage== <pre><nowiki>{{PokemonTile|name=|number=|type=}}</nowiki></pre> * '''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 <code><nowiki>File:<...")
(No difference)

Revision as of 21:12, 22 October 2025

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.

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