Difference between revisions of "Template:Game color/doc"

From Valve Developer Community
Jump to: navigation, search
(Unique Source 2013 MP color)
(Added unique color for Alien Swarm: Reactive Drop)
Line 17: Line 17:
 
|-
 
|-
 
| Alien Swarm || style="background:{{Game color|Alien Swarm}};" |
 
| Alien Swarm || style="background:{{Game color|Alien Swarm}};" |
 +
|-
 +
| Alien Swarm: Reactive Drop || style="background:{{Game color|Alien Swarm: Reactive Drop}};" |
 
|-
 
|-
 
| Black Mesa (Source) || style="background:{{Game color|Black Mesa (Source)}};" |
 
| Black Mesa (Source) || style="background:{{Game color|Black Mesa (Source)}};" |

Revision as of 01:25, 14 June 2020

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

<span style="color:{{Game color | <game name>}};font-weight:bold;">(I am a specific game or engine branch)</span>. For example: <span style="color:{{Game color | Counter-Strike: Global Offensive}};font-weight:bold;">(Example text)</span>(Example text)

This template also works with game icons. For example: <span style="color:{{Game color | {{csgo}}}};font-weight:bold;">(Example text)</span>(Example text)

Game list

Game Result
Alien Swarm
Alien Swarm: Reactive Drop
Black Mesa (Source)
Black Mesa
Contagion
Counter-Strike: Global Offensive
Entropy : Zero
Entropy : Zero 2
Garry's Mod
Half-Life
Half-Life: Source
Half-Life 2
Half-Life 2: Episode One
Half-Life 2: Episode Two
Half-Life 2 episodes
INFRA
Insurgency
Left 4 Dead
Left 4 Dead 2
Left 4 Dead series
Mapbase
Portal
Portal 2
Portal 2010 ARG Update
Sin Episodes
Source 2006
Source 2007
Source 2009
Source 2013
Source 2013 MP
Synergy
Team Fortress 2
Default for no game specified