Template:Game color/doc: Difference between revisions
Jump to navigation
Jump to search
(Added Template:hl2episodes) |
(Added a few games and mods) |
||
Line 25: | Line 25: | ||
|- | |- | ||
| Counter-Strike: Global Offensive || style="background:{{Game color|Counter-Strike: Global Offensive}};" | | | Counter-Strike: Global Offensive || style="background:{{Game color|Counter-Strike: Global Offensive}};" | | ||
|- | |||
| Entropy : Zero || style="background:{{Game color|Entropy : Zero}};" | | |||
|- | |||
| Entropy : Zero 2 || style="background:{{Game color|Entropy : Zero 2}};" | | |||
|- | |- | ||
| Garry's Mod || style="background:{{Game color|Garry's Mod}};" | | | Garry's Mod || style="background:{{Game color|Garry's Mod}};" | | ||
|- | |||
| Half-Life || style="background:{{Game color|Half-Life}};" | | |||
|- | |||
| Half-Life: Source || style="background:{{Game color|Half-Life: Source}};" | | |||
|- | |||
| Half-Life 2 || style="background:{{Game color|Half-Life 2}};" | | |||
|- | |- | ||
| Half-Life 2: Episode One || style="background:{{Game color|Half-Life 2: Episode One}};" | | | Half-Life 2: Episode One || style="background:{{Game color|Half-Life 2: Episode One}};" | | ||
Line 61: | Line 71: | ||
|- | |- | ||
| Source 2013 || style="background:{{Game color|Source 2013}};" | | | Source 2013 || style="background:{{Game color|Source 2013}};" | | ||
|- | |||
| Synergy || style="background:{{Game color|Synergy}};" | | |||
|- | |- | ||
| Team Fortress 2 || style="background:{{Game color|Team Fortress 2}};" | | | Team Fortress 2 || style="background:{{Game color|Team Fortress 2}};" | |
Revision as of 10:19, 30 April 2020

This is a documentation subpage for Template:Game color.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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>
→ <span style="color:{{ |col}};font-weight:bold;">(Example text)
Game list
Game | Result |
---|---|
Alien Swarm | |
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 | |
Synergy | |
Team Fortress 2 | |
Default for no game specified |