User:Tiddlywinks/Template:gamelink

From Bulbagarden Archives
< User:Tiddlywinks
Revision as of 20:30, 27 January 2024 by Tiddlywinks (talk | contribs) (Created page with "bp:{{#switch:{{{1}}} |Red and Green|Red and Blue|Gold and Silver|Ruby and Sapphire|FireRed and LeafGreen|Diamond and Pearl|HeartGold and SoulSilver|Black and White=Pokémon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

[[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 Inputs
Pokémon {{{1}}} Versions Red and Green, Red and Blue, Gold and Silver, Ruby and Sapphire, FireRed and LeafGreen, Diamond and Pearl, HeartGold and SoulSilver, Black and White
Pokémon {{{1}}} Version Yellow, Crystal, Emerald, Platinum
Unique cases Blue (bp:Pokémon Blue Version (Japanese)), Black 2 and White 2, Let's Go, Pikachu! and Let's Go, Eevee!
Pokémon {{{1}}} All other inputs