Template:Gmod
Usage
Delivers the icon and/or a link of the game that has this abreviation. Can also obtain the game color.
This template is based on {{Software}}
.
Parameters
- {{{1}}} - Optional: The representation, see the examples below. Can be set to:
1, 2, 3, 4, col, in, also, only, since, removed, not
. - {{{nt}}} - Optional: This option allows you to select a custom game name if it is specified in the template. 0 is most often a game abbreviation.
- {{{addtext}}} - Optional: If {{{1}}} is set to
in, also, only, since, removed
ornot
, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Examples

{{gmod}}
|
→ ![]() |
{{gmod|1}}
|
→ Garry's Mod |
{{gmod|2}}
|
→ ![]() |
{{gmod|3}}
|
→ Garry's Mod |
{{gmod|4}}
|
→ ![]() |
{{gmod|4|nt=0}}
|
→ ![]() |
{{gmod|4|nt=1}}
|
→ ![]() |
{{gmod|col}}
|
→ #1295F0 |
{{gmod|in}}
|
→ (in ![]() |
{{gmod|only}}
|
→ (only in ![]() |
{{gmod|since}}
|
→ (in all games since ![]() |
{{gmod|not}}
|
→ (not in ![]() |
{{gmod|removed}}
|
→ (removed since ![]() |
{{gmod|also|addtext={{csgo}} {{l4d2}}}}
|
→ (also in ![]() ![]() ![]() |
The above documentation is transcluded from Template:Hl2/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.