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