User:Tiddlywinks/Template:gamelink
[[bp:Pokémon {{{1}}}|Pokémon {{{1}}}]]
This template links to the page of a specified core series game on Bulbapedia. The proper title is linked in every case, but the display text always omits "Version" or "Versions".
A primary goal of this template is to work with parameters that designate game artwork categories (like Art from Pokémon Black and White, where Black and White would be a supplied parameter). Therefore, only certain inputs are included here.
- Unnamed parameters
- 1: game(s)
Valid inputs for game are as follows
| Pattern | Input | Output |
|---|---|---|
Pokémon {{{1}}} Versions
|
Red and Green | Pokémon Red and Green |
| Red and Blue | Pokémon Red and Blue | |
| Gold and Silver | Pokémon Gold and Silver | |
| Ruby and Sapphire | Pokémon Ruby and Sapphire | |
| FireRed and LeafGreen | Pokémon FireRed and LeafGreen | |
| Diamond and Pearl | Pokémon Diamond and Pearl | |
| HeartGold and SoulSilver | Pokémon HeartGold and SoulSilver | |
| Black and White | Pokémon Black and White | |
Pokémon {{{1}}} Version
|
Yellow | Pokémon Yellow |
| Crystal | Pokémon Crystal | |
| Emerald | Pokémon Emerald | |
| Platinum | Pokémon Platinum | |
| Unique cases | Blue | Pokémon Blue (Japanese) |
| Black 2 and White 2 | Pokémon Black 2 and White 2 | |
| Let's Go, Pikachu! and Let's Go, Eevee! | Pokémon: Let's Go, Pikachu! and Let's Go, Eevee! | |
Pokémon {{{1}}}
|
All other inputs | ... |
| (ex:) Sun and Moon | Pokémon Sun and Moon |
Categories
- No categories associated with this article