Template:Game icon name/doc

From Valve Developer Community
Jump to: navigation, search
Edit-copy.png
This is a documentation subpage for Template:Game icon name.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

This template takes the full game name and delivers a 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.

Parameters

  • {{{1}}} - the full, case sensitive game name.

Examples

{{game icon name|Half-Life 2}} → hl2
{{ {{game icon name|Half-Life 2}} }} Half-Life 2
Tip.pngTip:Use {{Game icon}} for this purpose if you (want to type less and) don't want a broken page state if the icon does not exist.
{{game icon|Half-Life 2}} Half-Life 2

{{game icon name|asdf}}
Note.pngNote:If unknown games deliver nothing, it allows the use of {{#if: {{game icon name|...}} | ...}}. {{Game icon}} relies on this property.
{{ {{game icon name|asdf}} }} → {{ }}
Tip.pngTip:Use {{Game icon}} to avoid this.
{{game icon|asdf}}

See also

  • {{Game icon}}

Available Names

Input Output
Age of Chivalry aoc
Alien Swarm SDK
Alien Swarm
as
Alien Swarm: Reactive Drop asrd
Artifact Artifact
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 Authoring Tools
Counter-Strike: Global Offensive
csgo
Dark Messiah
Dark Messiah of Might and Magic
dm
Day of Defeat dod
Day of Defeat: Source DODS
Day of Infamy doi
Dear Esther Dear Esther
Deathmatch Classic DMC
Destinations destinations
Dino D-Day ddd
Dota 2 dota2
Dota Underlords underlords
Dystopia dystopia
Entropy : Zero ez1
Entropy : Zero 2 ez2
E.Y.E: Divine Cybermancy eyedc
Fistful of Frags fof
Garry's Mod GMOD
Goldsource Gldsrc
Half-Life hl1
Half-Life: Source hls
Half-Life 2 hl2
Half-Life 2: Deathmatch hl2dm
Half-Life 2: Episode One ep1
Half-Life 2: Episode Two ep2
Half-Life 2: Lost Coast lostcoast
Half-Life 2 episodes hl2episodes
Half-Life: Alyx HL:A
Half-Life: Blue Shift hl1:bs
Half-Life: Opposing Force hl1:op4
Half-Life Deathmatch: Source hldms
INFRA infra
Insurgency insurgency
Jabroni Brawl: Episode 3 jbep3
Left 4 Dead Authoring Tools
Left 4 Dead
l4d
Left 4 Dead 2 Authoring Tools
Left 4 Dead 2
l4d2
Left 4 Dead series l4ds
Mapbase mapbase
Nuclear Dawn nd
Portal 2010 ARG Update
Portal
portal
Portal 2 Authoring Tools
Portal 2
portal2
Portal 2: Community Edition P2CE
Ricochet ricochet
S&box s&box
SiN Episodes sin
Source source
Source 2 source2
Source 2006 src06
Source 2007 src07
Source 2009 src09
Source 2013 src13
Source 2013 MP src13mp
Source Filmmaker sfm
SteamVR Home VRHome
Synergy synergy
Team Fortress Classic tfc
Team Fortress 2 tf2
Team Fortress 2 Classic tf2c
The Beginner's Guide tbg
The Ship ship
The Stanley Parable tsp
Titanfall tf
Underhell UH
Vampire The Masquerade - Bloodlines vtmb
Zeno Clash zc
Zombie Panic! Source zps