Template:Half-Life 2: Deathmatch

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history

Creates a link icon and/or link text to Half-Life 2: Deathmatch Half-Life 2: Deathmatch. Also provides the ability to use raw template data for other purposes.

Usage

This template is usually written in a single line without spaces(?). To use it, insert {{Half-Life 2: Deathmatch}} into the desired page and specify the parameters described below to the right of the template name in the following format: {{Half-Life 2: Deathmatch|parameter1=value|parameter2=value}}.

Icon-Important.pngImportant:The template should not be used just because it looks "pretty" compared to a regular link.

Here is a list of the most suitable places:

  • The beginning of an article about the software linked to by this template (for example, PUNT);
  • Tables with a list of software (such as the list of games released on Source or the Level Design category);
  • Discussion page;
  • User page.
  • In regular link ("1" text appearance) or icon-only mode in a in-line list of several games (e.g. saying something is (only in Half-Life 2 Portal Portal 2))
Its use anywhere other than as mentioned above is strongly not recommended due to poor page readability (icons and colorful links draw too much attention and clutters the page where it is not needed). Use with extreme caution and ignore the suggested list only when absolutely necessary.
Parameter Description Example Preview
No Parameters Creates an icon with a link to the game. {{Half-Life 2: Deathmatch}} Half-Life 2: Deathmatch
{{{1}}} The appearance of the text, displaying info such as "also in" and getting data from the template.

Avaliable values:

Design Info Getting Data
bold in name
1 also link
1.bold only extlink (?)
2 since col
2.bold removed ico
3 not ico1 (?)
3.1 ico2
3.1.nolink (?) ico3
3.2 ico1 name (?)
4 ico2 name
4.1 ico3 name
4.2
{{Half-Life 2: Deathmatch|bold}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|1}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|1.bold}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|2}} Half-Life 2: Deathmatch Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|2.bold}} Half-Life 2: Deathmatch Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|3}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|3.1}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|3.1.nolink}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|3.2}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|3}} Half-Life 2: Deathmatch Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|4.1}} Half-Life 2: Deathmatch Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|4.2}} Half-Life 2: Deathmatch Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|in}} (in Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|also}} (also in Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|only}} (only in Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|since}} (in all games since Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|removed}} (removed since Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|not}} (not in Half-Life 2: Deathmatch)
{{Half-Life 2: Deathmatch|name}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|link}} Half-Life 2: Deathmatch
{{Half-Life 2: Deathmatch|extlink}} No external link
{{Half-Life 2: Deathmatch|col}} #FFDD61
{{Half-Life 2: Deathmatch|ico}} Hl2dm-16px.png
{{Half-Life 2: Deathmatch|ico1}} No icon 1
{{Half-Life 2: Deathmatch|ico2}} No icon 2
{{Half-Life 2: Deathmatch|ico3}} No icon 3
{{Half-Life 2: Deathmatch|ico1 name}} No ico1 name
{{Half-Life 2: Deathmatch|ico2 name}} No ico2 name
{{Half-Life 2: Deathmatch|ico2 name}} No ico3 name
{{{addtext}}} If {{{1}}} is set to in, also, only, since, removed or not, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. {{Half-Life 2: Deathmatch|also|addtext={{l4d}}{{csgo}}}} (also in Half-Life 2: DeathmatchLeft 4 DeadCounter-Strike: Global Offensive)
{{{link}}} If overwritten, the link will lead to another page on this wiki. {{Half-Life 2: Deathmatch|link=SDK Docs}} Half-Life 2: Deathmatch

Components

  • {{Software}} - the core of this template, without which it will not function.
  • {{Software/strings}} - strings from the core template translated into other languages.