Template:Game icon name/doc

From Valve Developer Community
< Template:Game icon name
Revision as of 15:15, 30 September 2021 by Popcorn (talk | contribs) (Created page with "== Description == This template takes the full game name and delivers the string that must be put in double braces to get the game's icon, if existent. Ideally, this is the o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template takes the full game name and delivers the string that must be put in double braces to get the game's icon, if existent.

Ideally, this is the only page that maps game names to game acronyms.

Examples

Wikitext Result
{{game icon name|Half-Life 2}}
hl2
{{ {{game icon name|Half-Life 2}} }}
Note.pngNote:This is what {{Game icon}} does!
Half-Life 2
{{game icon name|asdf}}
Note.pngNote:Unknown games delivering nothing allows the use of
{{#if: {{game icon name|...}} | ... }}

Available Names

Input Output
Alien Swarm as
Alien Swarm: Reactive Drop asrd
Black Mesa
Black Mesa (Source)
bms
Contagion con
Counter-Strike cs
Counter-Strike: Condition Zero cscz
Condition Zero Deleted Scenes czds
Counter-Strike: Source css
Counter-Strike: Global Offensive csgo
Dota 2 dota2
Entropy : Zero ez1
Entropy : Zero 2 ez2
Garry's Mod GMOD
Half-Life hl1
Half-Life: Source hls
Half-Life 2 hl2
Half-Life 2: Episode One ep1
Half-Life 2: Episode Two ep2
Half-Life 2 episodes hl2episodes
Half-Life Alyx HL:A
INFRA INFRA
Insurgency insurgency
Left 4 Dead l4d
Left 4 Dead 2 l4d2
Left 4 Dead series l4ds
Mapbase mapbase
Portal 2010 ARG Update
Portal
portal
Portal 2 portal2
Portal 2: Community Edition P2CE
Sin Episodes sin
Source 2006 src06
Source 2007 src07
Source 2009 src09
Source 2013 src13
Source 2013 MP src13mp
Source Filmmaker sfm
Synergy synergy
Team Fortress 2 tf2

See Also

  • {{Game icon}}