Template:Half-Life 2 series
From Valve Developer Community
Jump to navigation
Jump to search
Creates a link icon and/or link text to
Half-Life 2 series. 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 series}} into the desired page and specify the parameters described below to the right of the template name in the following format:
{{Half-Life 2 series|parameter1=value|parameter2=value}}
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
)).
| Parameter | Description | Example | Preview | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No Parameters | Creates an icon with a link to the game. | {{Half-Life 2 series}}
|
|||||||||||||||||||||||||||||||||||||
{{{1}}}
|
The appearance of the text, displaying info such as "also in" and getting data from the template.
Avaliable values:
|
{{Half-Life 2 series|1}}
|
Half-Life 2 series | ||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|2}}
|
|||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|3}}
|
Half-Life 2 series | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|3.1}}
|
Half-Life 2 series | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|4}}
|
|||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|4.1}}
|
|||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|in}}
|
(in | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|also}}
|
(also in | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|only}}
|
(only in | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|since}}
|
(in all games since | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|removed}}
|
(removed since | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|not}}
|
(not in | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|name}}
|
Half-Life 2 series | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|link}}
|
Half-Life 2 series | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|extlink}}
|
No external link | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|col}}
|
#E6AC39 | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico}}
|
Hl2 icon.png | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico1}}
|
No icon 1 | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico2}}
|
No icon 2 | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico3}}
|
No icon 3 | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico1 name}}
|
No ico1 name | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|ico2 name}}
|
No ico2 name | ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|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 series|also|addtext={{l4d}}{{csgo}}}}
|
(also in | ||||||||||||||||||||||||||||||||||||
{{{link}}}
|
If overwritten, the link will lead to another page on this wiki. | {{Half-Life 2 series|link=SDK Docs}}
|
|||||||||||||||||||||||||||||||||||||
{{{nt}}}
|
Another name for this software, for example: for Hl2 template, using reg shows the registered trademark symbol.
| ||||||||||||||||||||||||||||||||||||||
{{Half-Life 2 series|nt=}}
|
Components
- {{Software}} - the core of this template, without which it will not function.
- {{Software/strings}} - strings from the core template translated into other languages.
The above documentation is transcluded from Template:Hl2/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Hidden category: