Template:Hl2xbox/doc

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
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)