Template:GameIcon: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(added Legends Arceus icon)
(consistency/readability)
Line 31: Line 31:
|Su=<span style="background: #{{Sun color}}">[[Pokémon Sun and Moon|<span style="color:#000">&nbsp;S&nbsp;</span>]]</span>
|Su=<span style="background: #{{Sun color}}">[[Pokémon Sun and Moon|<span style="color:#000">&nbsp;S&nbsp;</span>]]</span>
|Mo|M=<span style="background: #{{Moon color}}">[[Pokémon Sun and Moon|<span style="color:#000">&nbsp;M&nbsp;</span>]]</span>
|Mo|M=<span style="background: #{{Moon color}}">[[Pokémon Sun and Moon|<span style="color:#000">&nbsp;M&nbsp;</span>]]</span>
|US=<span style="background: #{{Ultra Sun color}}">[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">&nbsp;US&nbsp;</span>]]</span>
|US=<span style="background: #{{Ultra Sun color}}">[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#FFF">&nbsp;US&nbsp;</span>]]</span>
|UM=<span style="background: #{{Ultra Moon color}}">[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#FFF">&nbsp;UM&nbsp;</span>]]</span>
|UM=<span style="background: #{{Ultra Moon color}}">[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#FFF">&nbsp;UM&nbsp;</span>]]</span>
|LGP=<span style="background: #{{Let's Go Pikachu color}}">[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">&nbsp;P&nbsp;</span>]]</span>
|LGP=<span style="background: #{{Let's Go Pikachu color}}">[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">&nbsp;P&nbsp;</span>]]</span>

Revision as of 14:59, 2 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