Template:Game color/doc: Difference between revisions
Jump to navigation
Jump to search
(Added colors for CS, CS:CZ, Condition Zero Deleted Scenes, CS:S. Added two examples for usage.) |
m ("Half-Life Alyx" -> "Half-Life: Alyx") |
||
| Line 68: | Line 68: | ||
| Half-Life 2: Episode Two || ep2 || style="background:{{Game color|ep2}};" | || {{Game color|ep2}} | | Half-Life 2: Episode Two || ep2 || style="background:{{Game color|ep2}};" | || {{Game color|ep2}} | ||
|- | |- | ||
| Half-Life Alyx || HL:A || style="background:{{Game color|HL:A}};" | || {{Game color|HL:A}} | | Half-Life: Alyx || HL:A || style="background:{{Game color|HL:A}};" | || {{Game color|HL:A}} | ||
|- | |- | ||
| INFRA || INFRA || style="background:{{Game color|INFRA}};" | || {{Game color|INFRA}} | | INFRA || INFRA || style="background:{{Game color|INFRA}};" | || {{Game color|INFRA}} | ||
Revision as of 11:15, 11 October 2021
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
| Wikitext | Result | |
|---|---|---|
{{Game color|csgo}}
|
#E9B963 | |
<span style="color:{{Game color|csgo}};font-weight:bold;">(Example text)</span>
|
(Example text) | |
{| class="wikitable"
| style="background:{{Game color|as}};"| (Example text)
|}
|
|
Game list
| Game | Abbreviation | Result | Color Code |
|---|---|---|---|
| Alien Swarm | as | #108FBE | |
| Alien Swarm: Reactive Drop | asrd | #EE6F3C | |
| Black Mesa (Source) | bms | #E57126 | |
| Black Mesa | bms | #E57126 | |
| Contagion | con | #BF2F20 | |
| Counter-Strike | cs | #DEDEDE | |
| Counter-Strike: Condition Zero | cscz | #FFFA71 | |
| Condition Zero Deleted Scenes | czds | #0F6CB1 | |
| Counter-Strike: Source | css | #90C0FF | |
| Counter-Strike: Global Offensive | csgo | #E9B963 | |
| Entropy : Zero | ez1 | #00FFF7 | |
| Entropy : Zero 2 | ez2 | #FF5729 | |
| Garry's Mod | GMOD | #1295F0 | |
| Half-Life | hl1 | #ff5500 | |
| Half-Life: Source | hls | #DC143C | |
| Half-Life 2 | hl2 | #E6AC39 | |
| Half-Life 2: Episode One | ep1 | #FF8F00 | |
| Half-Life 2: Episode Two | ep2 | #F26025 | |
| Half-Life: Alyx | HL:A | style="background:{{The template {{HL:A}} is a candidate for deletion. Replace with {{hla}}.}};" | |
{{The template {{HL:A}} is a candidate for deletion. Replace with {{hla}}.}}
|
| INFRA | INFRA | #99CCFF | |
| Insurgency | insurgency | #C7D1E0 | |
| Left 4 Dead | l4d | #439e3c | |
| 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 | #ff3349 | |
| Source 2006 | src06 | #FF8F00 | |
| Source 2007 | src07 | #F26025 | |
| Source 2009 | src09 | #558FA5 | |
| Source 2013 | src13 | #8CC850 | |
| Source 2013 MP | src13mp | #A7B956 | |
| Source Filmmaker | sfm | #C8B17D | |
| Synergy | synergy | #8edb5b | |
| Team Fortress 2 | tf2 | #CF7336 | |
| Default | none of the above | #add8e6 |
See Also