Template:Hlop4

From Valve Developer Community
(Redirected from Template:Hl1:op4)
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.
{{hlop4}} Half-Life: Opposing Force
{{hlop4|1}} Half-Life: Opposing Force
{{hlop4|2}} Half-Life: Opposing Force Half-Life: Opposing Force
{{hlop4|3}} Half-Life: Opposing Force
{{hlop4|4}} Half-Life: Opposing Force Half-Life: Opposing Force
{{hlop4|1|suf=:es}} Half-Life: Opposing Force
{{hlop4|4|suf=:zh-cn}} Half-Life: Opposing Force Half-Life: Opposing Force
{{hlop4|4|nt=0}} Half-Life: Opposing Force Half-Life: Opposing Force
{{hlop4|4|nt=1}} Half-Life: Opposing Force Half-Life: Opposing Force
{{hlop4|col}} → #00cc00
{{hlop4|in}} (in Half-Life: Opposing Force)
{{hlop4|only}} (only in Half-Life: Opposing Force)
{{hlop4|since}} (in all games since Half-Life: Opposing Force)
{{hlop4|not}} (not in Half-Life: Opposing Force)
{{hlop4|removed|suf=:ru}} (удалено начиная с Half-Life: Opposing Force)
{{hlop4|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} (auch in Half-Life: Opposing Force Counter-Strike: Global Offensive Left 4 Dead 2)