Template:Half-Life 2/doc

From Valve Developer Community
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Half-Life 2.
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 abreviation. Can also obtain the {{game color}}.

This template is based on {{new icon}}.

Parameters

  • {{{p}}} - Optional: The representation, see the examples below. Can be set to: 1, 2, 3, 4, col, in, also, only, since, removed, not.
  • {{{suf}}} - Optional: The language suffix of the linked page, e.g. :es, see {{lang}}.
  • {{{addtext}}} - Optional: If {{{p}}} is set to in, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.

Examples

{{half-Life 2}} Half-Life 2
{{half-Life 2|p=1|suf=:es}} Half-Life 2
{{half-Life 2|p=2}} Half-Life 2
{{half-Life 2|p=3}} Half-Life 2
{{half-Life 2|p=4|suf=:zh-cn}} Half-Life 2
{{half-Life 2|p=col}} Half-Life 2
{{half-Life 2|p=since}} Half-Life 2
{{half-Life 2|p=removed|suf=:ru}} Half-Life 2
{{half-Life 2|p=also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} Half-Life 2Counter-Strike: Global Offensive Left 4 Dead 2