Template:GameIcon: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(changed the wrong Y)
(better readability and consistent with Ruby and Sapphire)
Line 11: Line 11:
|Ru=<span style="background: #{{Ruby color}}">[[Pokémon Ruby and Sapphire Versions|<span style="color:#FFF">&nbsp;R&nbsp;</span>]]</span>
|Ru=<span style="background: #{{Ruby color}}">[[Pokémon Ruby and Sapphire Versions|<span style="color:#FFF">&nbsp;R&nbsp;</span>]]</span>
|Sa=<span style="background: #{{Sapphire color}}">[[Pokémon Ruby and Sapphire Versions|<span style="color:#FFF">&nbsp;S&nbsp;</span>]]</span>
|Sa=<span style="background: #{{Sapphire color}}">[[Pokémon Ruby and Sapphire Versions|<span style="color:#FFF">&nbsp;S&nbsp;</span>]]</span>
|Em|E=<span style="background: #{{Emerald color}}">[[Pokémon Emerald Version|<span style="color:#000">&nbsp;E&nbsp;</span>]]</span>
|Em|E=<span style="background: #{{Emerald color}}">[[Pokémon Emerald Version|<span style="color:#FFF">&nbsp;E&nbsp;</span>]]</span>
|FR=<span style="background: #{{FireRed color}}">[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">&nbsp;FR&nbsp;</span>]]</span>
|FR=<span style="background: #{{FireRed color}}">[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">&nbsp;FR&nbsp;</span>]]</span>
|LG=<span style="background: #{{LeafGreen color}}">[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">&nbsp;LG&nbsp;</span>]]</span>
|LG=<span style="background: #{{LeafGreen color}}">[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">&nbsp;LG&nbsp;</span>]]</span>

Revision as of 14:34, 17 April 2024




Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

{{GameIcon}} creates an "icon" link to a game, with the correct abbreviation and colored background.

See {{gameabbrev}} for colored abbreviation links.

Parameters

Unnamed
  • 1: the abbreviation for the game (see below)

All inputs and outputs

Note that these inputs are case-sensitive, meaning "r" will not output the Red icon. The only case where two games use different cases of the same letter is Yellow and Y (of Pokémon X and Y), the latter of which uses a lowercase y.

Input Output
JR  R 
JGGr  G 
JB  B 
R  R 
B  B 
YeY  Y 
G  G 
S  S 
C  C 
Ru  R 
Sa  S 
EmE  E 
FR  FR 
LG  LG 
Colo  Colo 
XD  XD 
D  D 
P  P 
Pt  Pt 
HG  HG 
SS  SS 
Bl  B 
WWh  W 
B2Bl2  B2 
W2Wh2  W2 
X  X 
y  Y 
OR  OR 
AS  AS 
Su  S 
MoM  M 
US  US 
UM  UM 
LGP  P 
LGE  E 
Sw  Sw 
Sh  Sh 
BD  BD 
SP  SP 
LA  LA 
Sc  S 
VVi  V