Got a spare minute? The Archives need some love. See the to-do list to find a way to help.
If you upload a new image make sure you name and categorize it properly. If in doubt, ask an admin or see our FAQ page.

User:Tiddlywinks/Template:gamelink: Difference between revisions

From Bulbagarden Archives
Jump to navigationJump to search
(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...")
 
(Easier to follow/check if each has its own row)
 
Line 16: Line 16:


Valid inputs for game are as follows
Valid inputs for game are as follows
{| class="wikitable"
{| class="sortable wikitable"
! Pattern
! Pattern
! Inputs
! Input
! Output
|-
|-
| <code><nowiki>Pokémon {{{1}}} Versions</nowiki></code>
| rowspan="8" | <code><nowiki>Pokémon {{{1}}} Versions</nowiki></code>
| Red and Green, Red and Blue, Gold and Silver, Ruby and Sapphire, FireRed and LeafGreen, Diamond and Pearl, HeartGold and SoulSilver, Black and White
| Red and Green
| {{User:Tiddlywinks/Template:gamelink|Red and Green}}
|-
|-
| <code><nowiki>Pokémon {{{1}}} Version</nowiki></code>
| Red and Blue
| Yellow, Crystal, Emerald, Platinum
| {{User:Tiddlywinks/Template:gamelink|Red and Blue}}
|-
|-
| ''Unique cases''
| Gold and Silver
| Blue ([[bp:Pokémon Blue Version (Japanese)]]), Black 2 and White 2, Let's Go, Pikachu! and Let's Go, Eevee!
| {{User:Tiddlywinks/Template:gamelink|Gold and Silver}}
|-
|-
| <code><nowiki>Pokémon {{{1}}}</nowiki></code>
| Ruby and Sapphire
| {{User:Tiddlywinks/Template:gamelink|Ruby and Sapphire}}
|-
| FireRed and LeafGreen
| {{User:Tiddlywinks/Template:gamelink|FireRed and LeafGreen}}
|-
| Diamond and Pearl
| {{User:Tiddlywinks/Template:gamelink|Diamond and Pearl}}
|-
| HeartGold and SoulSilver
| {{User:Tiddlywinks/Template:gamelink|HeartGold and SoulSilver}}
|-
| Black and White
| {{User:Tiddlywinks/Template:gamelink|Black and White}}
|-
| rowspan="4" | <code><nowiki>Pokémon {{{1}}} Version</nowiki></code>
| Yellow
| {{User:Tiddlywinks/Template:gamelink|Yellow}}
|-
| Crystal
| {{User:Tiddlywinks/Template:gamelink|Crystal}}
|-
| Emerald
| {{User:Tiddlywinks/Template:gamelink|Emerald}}
|-
| Platinum
| {{User:Tiddlywinks/Template:gamelink|Platinum}}
|-
| rowspan="3" | ''Unique cases''
| Blue
| {{User:Tiddlywinks/Template:gamelink|Blue}}
|-
| Black 2 and White 2
| {{User:Tiddlywinks/Template:gamelink|Black 2 and White 2}}
|-
| Let's Go, Pikachu! and Let's Go, Eevee!
| {{User:Tiddlywinks/Template:gamelink|Let's Go, Pikachu! and Let's Go, Eevee!}}
|-
| rowspan="2" | <code><nowiki>Pokémon {{{1}}}</nowiki></code>
| ''All other inputs''
| ''All other inputs''
| ...
|-
| (''ex:'') Sun and Moon
| {{User:Tiddlywinks/Template:gamelink|Sun and Moon}}
|}
|}


</noinclude>
</noinclude>

Latest revision as of 20:37, 27 January 2024

[[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