Template:Hl2dm
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 {{new icon}}
.
Parameters
{{{1}}}
- Optional: The representation, see the examples below. Can be set to:1, 2, 3, 4, col, in, also, only, since, removed, not
.{{{suf}}}
- Optional: To link to a specific language, set this to the appropriate language suffix, e.g.:es
, see{{lang}}
.{{{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 toin, also, only, since, removed
ornot
, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Examples

{{hl2dm}}
|
→ ![]() |
{{hl2dm|1}}
|
→ Half-Life 2: Deathmatch |
{{hl2dm|2}}
|
→ ![]() |
{{hl2dm|3}}
|
→ Half-Life 2: Deathmatch |
{{hl2dm|4}}
|
→ ![]() |
{{hl2dm|1|suf=:es}}
|
→ Half-Life 2: Deathmatch |
{{hl2dm|4|suf=:zh-cn}}
|
→ ![]() |
{{hl2dm|4|nt=0}}
|
→ ![]() |
{{hl2dm|4|nt=1}}
|
→ ![]() |
{{hl2dm|col}}
|
→ #FFDD61 |
{{hl2dm|in}}
|
→ (in ![]() |
{{hl2dm|only}}
|
→ (only in ![]() |
{{hl2dm|since}}
|
→ (in all games since ![]() |
{{hl2dm|not}}
|
→ (not in ![]() |
{{hl2dm|removed|suf=:ru}}
|
→ (удалено начиная с ![]() |
{{hl2dm|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}}
|
→ (auch 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. |