Template:Csxbox
From Valve Developer Community
Jump to navigation
Jump to search
Creates a link icon and/or link text to
Counter-Strike (Xbox). 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 {{Csxbox}} into the desired page and specify the parameters described below to the right of the template name in the following format:
{{Csxbox|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. | {{Csxbox}}
|
|||||||||||||||||||||||||||||||||||||
{{{1}}}
|
The appearance of the text, displaying info such as "also in" and getting data from the template.
Avaliable values:
|
{{Csxbox|1}}
|
Counter-Strike (Xbox) | ||||||||||||||||||||||||||||||||||||
{{Csxbox|2}}
|
|||||||||||||||||||||||||||||||||||||||
{{Csxbox|3}}
|
Counter-Strike (Xbox) | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|3.1}}
|
Counter-Strike (Xbox) | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|4}}
|
|||||||||||||||||||||||||||||||||||||||
{{Csxbox|4.1}}
|
|||||||||||||||||||||||||||||||||||||||
{{Csxbox|in}}
|
(in | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|also}}
|
(also in | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|only}}
|
(only in | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|since}}
|
(in all games since | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|removed}}
|
(removed since | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|not}}
|
(not in | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|name}}
|
Counter-Strike (Xbox) | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|link}}
|
Counter-Strike (Xbox) | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|extlink}}
|
No external link | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|col}}
|
#C2D52C | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico}}
|
Csxbox-16px.png | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico1}}
|
No icon 1 | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico2}}
|
No icon 2 | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico3}}
|
No icon 3 | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico1 name}}
|
No ico1 name | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|ico2 name}}
|
No ico2 name | ||||||||||||||||||||||||||||||||||||||
{{Csxbox|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.
|
{{Csxbox|also|addtext={{l4d}}{{csgo}}}}
|
(also in | ||||||||||||||||||||||||||||||||||||
{{{link}}}
|
If overwritten, the link will lead to another page on this wiki. | {{Csxbox|link=SDK Docs}}
|
|||||||||||||||||||||||||||||||||||||
{{{nt}}}
|
Another name for this software, for example: for Hl2 template, using reg shows the registered trademark symbol.
| ||||||||||||||||||||||||||||||||||||||
{{Csxbox|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: