Template:Csczsrc
From Valve Developer Community
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Creates a link icon and/or link text to
Counter-Strike: Condition Zero Source. 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 {{Csczsrc}} into the desired page and specify the parameters described below to the right of the template name in the following format: {{Csczsrc|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. | {{Csczsrc}}
|
||||||||||||||||||||||||||||||||||||||||
{{{1}}}
|
The appearance of the text, displaying info such as "also in" and getting data from the template.
Avaliable values:
|
{{Csczsrc|bold}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||
{{Csczsrc|1}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|1.bold}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|2}}
|
||||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|2.bold}}
|
||||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|3}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|3.1}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|3.1.nolink}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|3.2}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|3}}
|
||||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|4.1}}
|
||||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|4.2}}
|
||||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|in}}
|
(in | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|also}}
|
(also in | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|only}}
|
(only in | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|since}}
|
(in all games since | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|removed}}
|
(removed since | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|not}}
|
(not in | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|name}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|link}}
|
Counter-Strike: Condition Zero Source | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|extlink}}
|
No external link | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|col}}
|
#FFFA71 | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico}}
|
Csczsrc-16px.png | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico1}}
|
No icon 1 | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico2}}
|
No icon 2 | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico3}}
|
No icon 3 | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico1 name}}
|
No ico1 name | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|ico2 name}}
|
No ico2 name | |||||||||||||||||||||||||||||||||||||||||
{{Csczsrc|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.
|
{{Csczsrc|also|addtext={{l4d}}{{csgo}}}}
|
(also in | |||||||||||||||||||||||||||||||||||||||
{{{link}}}
|
If overwritten, the link will lead to another page on this wiki. | {{Csczsrc|link=SDK Docs}}
|
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: