Template:Garry's Mod
From Valve Developer Community
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Creates a link icon and/or link text to
Garry's Mod.
Usage
This template is usually written in a single line without spaces(?).
To use it, insert {{Garry's Mod}} into the desired page and specify the parameters described below to the right of the template name in the following format:
{{Garry's Mod|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. | {{Garry's Mod}}
|
|||||||||||||||
{{{1}}}
|
The appearance of the text, displaying info such as "also in" and getting data from the template.
Avaliable values:
|
{{Garry's Mod|1}}
|
Garry's Mod | ||||||||||||||
{{Garry's Mod|2}}
|
|||||||||||||||||
{{Garry's Mod|3}}
|
Garry's Mod | ||||||||||||||||
{{Garry's Mod|4}}
|
|||||||||||||||||
{{Garry's Mod|in}}
|
(in | ||||||||||||||||
{{Garry's Mod|also}}
|
(also in | ||||||||||||||||
{{Garry's Mod|only}}
|
(only in | ||||||||||||||||
{{Garry's Mod|since}}
|
(in all games since | ||||||||||||||||
{{Garry's Mod|removed}}
|
(removed since | ||||||||||||||||
{{Garry's Mod|not}}
|
(not in | ||||||||||||||||
{{{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.
|
{{Garry's Mod|also|addtext={{l4d}}{{csgo}}}}
|
(also in | ||||||||||||||
{{{nt}}}
|
Another name for this software, for example: for Hl2 template, using reg shows the registered trademark symbol.
| ||||||||||||||||
{{Garry's Mod|4|nt=reg}}
|
Components
- {{Software link core}} - the core of this template, without which it will not function.
- {{Software link core/strings}} - strings from the core template translated into other languages.
Hidden category: