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