Template:Hla

From Valve Developer Community
Jump to: navigation, search
Template icon Template documentation[view] [edit] [history] [purge]

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

  • {{{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}}.
  • {{{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.png Note: Some of the examples given may lead to non-existent pages.
{{hla}} Half-Life: Alyx
{{hla|1}} Half-Life: Alyx
{{hla|2}} Half-Life: Alyx Half-Life: Alyx
{{hla|3}} Half-Life: Alyx
{{hla|4}} Half-Life: Alyx Half-Life: Alyx
{{hla|1|suf=:es}} Half-Life: Alyx
{{hla|4|suf=:zh-cn}} 半衰期:爱莉克斯 半衰期:爱莉克斯
{{hla|4|nt=0}} Half-Life: Alyx Half-Life: Alyx
{{hla|4|nt=1}} Half-Life: Alyx Half-Life: Alyx
{{hla|col}} → #C25E36
{{hla|in}} (in Half-Life: Alyx)
{{hla|only}} (only in Half-Life: Alyx)
{{hla|since}} (in all games since Half-Life: Alyx)
{{hla|not}} (not in Half-Life: Alyx)
{{hla|removed|suf=:ru}} (удалено начиная с Half-Life: Alyx)
{{hla|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} (auch in Half-Life: Alyx Counter-Strike: Global Offensive Left 4 Dead 2)