From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
Usage
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.
This template is based on {{Software}}.
Parameters
- {{{1}}} - Optional: The representation, see the examples below. Can be set to:
1, 2, 3, 4, col, in, also, only, since, removed, not
.
- {{{nt}}} - Optional: This option allows you to select a custom game name if it is specified in the template. 0 is most often a game abbreviation.
- {{{addtext}}} - Optional: 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.
Examples
Note:Some of the examples given may lead to non-existent pages.
{{xbox}}
|
→
|
{{xbox|1}}
|
→ Original Xbox
|
{{xbox|2}}
|
→ Original Xbox
|
{{xbox|3}}
|
→ Original Xbox
|
{{xbox|4}}
|
→ Original Xbox
|
{{xbox|4|nt=0}}
|
→ xbox
|
{{xbox|4|nt=1|ico=x}}
|
→ Xbox
|
{{xbox|4|nt=2|ico=s}}
|
→ OG Xbox
|
{{xbox|col}}
|
→ #9bf00b
|
{{xbox|in}}
|
→ (in )
|
{{xbox|only}}
|
→ (only in )
|
{{xbox|since}}
|
→ (in all games since )
|
{{xbox|not}}
|
→ (not in )
|
{{xbox|removed}}
|
→ (removed since )
|
{{xbox|also|addtext={{csgo}} {{l4d2}}}}
|
→ (also in  )
|
See also