Template:Hl2xbox/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created Page)
 
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
==Usage==
==Usage==
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the {{tl2|game color}}.
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the {{tl2|game color}}.
Line 15: Line 15:
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| → {{ {{ROOTPAGENAME}} }}
| {{ {{ROOTPAGENAME}} }}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| → {{{{ROOTPAGENAME}}|1}}
| {{{{ROOTPAGENAME}}|1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| → {{{{ROOTPAGENAME}}|2}}
| {{{{ROOTPAGENAME}}|2}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| → {{{{ROOTPAGENAME}}|3}}
| {{{{ROOTPAGENAME}}|3}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| → {{{{ROOTPAGENAME}}|4}}
| {{{{ROOTPAGENAME}}|4}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1|suf{{=}}:es}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1|suf{{=}}:es}}
| → {{{{ROOTPAGENAME}}|1|suf=:es}}
| {{{{ROOTPAGENAME}}|1|suf=:es}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|suf{{=}}:zh-cn}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|suf{{=}}:zh-cn}}
| → {{{{ROOTPAGENAME}}|4|suf=:zh-cn}}
| {{{{ROOTPAGENAME}}|4|suf=:zh-cn}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| → {{{{ROOTPAGENAME}}|col}}
| {{{{ROOTPAGENAME}}|col}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| → {{{{ROOTPAGENAME}}|in}}
| {{{{ROOTPAGENAME}}|in}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| → {{{{ROOTPAGENAME}}|only}}
| {{{{ROOTPAGENAME}}|only}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| → {{{{ROOTPAGENAME}}|since}}
| {{{{ROOTPAGENAME}}|since}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| → {{{{ROOTPAGENAME}}|not}}
| {{{{ROOTPAGENAME}}|not}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed|suf{{=}}:ru}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed|suf{{=}}:ru}}
| → {{{{ROOTPAGENAME}}|removed|suf=:ru}}
| {{{{ROOTPAGENAME}}|removed|suf=:ru}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|suf{{=}}:de|addtext{{=}}{{tlf|csgo|suf{{=}}:de}} {{tlf|l4d2|suf{{=}}:de}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|suf{{=}}:de|addtext{{=}}{{tlf|csgo|suf{{=}}:de}} {{tlf|l4d2|suf{{=}}:de}}}}
| → {{{{ROOTPAGENAME}}|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}}
| {{{{ROOTPAGENAME}}|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}}
|}
|}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
[[Category:Game icons]]
[[Category:Software icons]]
}}</includeonly>
}}</includeonly>

Latest revision as of 02:23, 12 January 2024

Edit-copy.png
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.

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 or not, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.

Examples

Note.pngNote:Some of the examples given may lead to non-existent pages.
{{hl2xbox}} Half-Life 2 (Xbox)
{{hl2xbox|1}} Half-Life 2 (Xbox)
{{hl2xbox|2}} Half-Life 2 (Xbox) Half-Life 2 (Xbox)
{{hl2xbox|3}} Half-Life 2 (Xbox)
{{hl2xbox|4}} Half-Life 2 (Xbox) Half-Life 2 (Xbox)
{{hl2xbox|1|suf=:es}} Half-Life 2 (Xbox)
{{hl2xbox|4|suf=:zh-cn}} Half-Life 2 (Xbox) Half-Life 2 (Xbox)
{{hl2xbox|col}} → #D4FF00
{{hl2xbox|in}} (in Half-Life 2 (Xbox))
{{hl2xbox|only}} (only in Half-Life 2 (Xbox))
{{hl2xbox|since}} (in all games since Half-Life 2 (Xbox))
{{hl2xbox|not}} (not in Half-Life 2 (Xbox))
{{hl2xbox|removed|suf=:ru}} (removed since Half-Life 2 (Xbox))
{{hl2xbox|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} (also in Half-Life 2 (Xbox)Counter-Strike: Global Offensive Left 4 Dead 2)