54
edits
(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 edit summary |
||
Line 6: | Line 6: | ||
* '''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. | * '''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:<number>MS.png]]</nowiki></code>. | * '''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:<number>MS.png]]</nowiki></code>. | ||
* '''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. | * '''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== | ==Example== |
edits