Template:Game color

From Valve Developer Community
Revision as of 20:06, 19 July 2020 by Tewan (talk | contribs) (Added p2ce color)
Jump to: navigation, search
Template icon Template documentation[view] [edit] [history] [purge]

Template for accessing unique, pre-defined colors for games and engine branches documented on the Valve Developer Community, based on feature addition templates. This template forwards a color variable directly and is intended to be used inside of wiki formatting.

Usage

Wikitext Result
{{Game color|csgo}}
#5eedaf
<span style="color:{{Game color|csgo}};font-weight:bold;">(Example text)</span>
(Example text)
{| class="wikitable"
| style="background:{{Game color|as}};"| (Example text)
|}
(Example text)

Game list

Game Abbreviation Result Color Code
Alien Swarm as #3E6D7F
Alien Swarm: Reactive Drop asrd #4e967c
Black Mesa (Source) bms #e47125
Black Mesa bms #e47125
Contagion con #417ee0
Counter-Strike cs #eeeeee
Counter-Strike: Condition Zero cscz #ffffa0
Condition Zero Deleted Scenes czds #ffffa0
Counter-Strike: Source css #90c0ff
Counter-Strike: Global Offensive csgo #5eedaf
Entropy : Zero ez1 #00fff7
Entropy : Zero 2 ez2 #ff5729
Garry's Mod GMOD #1295f0
Half-Life hl1 #de5009
Half-Life: Source hls #DC143C
Half-Life 2 hl2 #ffcc14
Half-Life 2: Episode One ep1 #ff8f00
Half-Life 2: Episode Two ep2 #F26025
Half-Life: Alyx HL:A #c25e36
INFRA INFRA #99ccff
Insurgency insurgency #c7d1e0
Left 4 Dead l4d #317C29
Left 4 Dead 2 l4d2 #BFA828
Mapbase mapbase #a163c9
Portal portal #6bbcfa
Portal 2 portal2 #23B1E5
Portal 2: Community Edition P2CE #FF7B02
Portal 2010 ARG Update portal #6bbcfa
Sin Episodes sin #64a596
Source 2006 src06 #ff8f00
Source 2007 src07 #F26025
Source 2009 src09 #558fa5
Source 2013 src13 #9bf442
Source 2013 MP src13mp #d3f442
Source Filmmaker sfm #C8B17D
Synergy synergy #09e359
Team Fortress 2 tf2 #CF7336
Default none of the above #add8e6

See Also