Template:Hl2xbox/doc
This is a documentation subpage for Template:Hl2xbox.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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 {{new icon}}.
Parameters
- {{{1}}} - Optional: The representation, see the examples below. Can be set to:
1, 2, 3, 4, col, in, also, only, since, removed, not
. - {{{suf}}} - Optional: To link to a specific language, set this to the appropriate language suffix, e.g.
:es
, see {{lang}}. - {{{addtext}}} - Optional: If {{{1}}} is set to
in, also, only, since, removed
ornot
, 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.
{{hl2xbox}}
|
→ |
{{hl2xbox|1}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|2}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|3}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|4}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|1|suf=:es}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|4|suf=:zh-cn}}
|
→ Half-Life 2 (Xbox) |
{{hl2xbox|col}}
|
→ #D4FF00 |
{{hl2xbox|in}}
|
→ (in ) |
{{hl2xbox|only}}
|
→ (only in ) |
{{hl2xbox|since}}
|
→ (in all games since ) |
{{hl2xbox|not}}
|
→ (not in ) |
{{hl2xbox|removed|suf=:ru}}
|
→ (removed since ) |
{{hl2xbox|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}}
|
→ (also in ) |