Template:Portal2branch

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.
{{portal2branch}} Portal 2 engine branch
{{portal2branch|1}} Portal 2 engine branch
{{portal2branch|2}} Portal 2 engine branch Portal 2 engine branch
{{portal2branch|3}} Portal 2 engine branch
{{portal2branch|4}} Portal 2 engine branch Portal 2 engine branch
{{portal2branch|1|suf=:es}} Portal 2 rama de motor
{{portal2branch|4|suf=:zh-cn}} 传送门 2 引擎分支 传送门 2 引擎分支
{{portal2branch|4|nt=0}} Portal 2 engine branch Portal 2 engine branch
{{portal2branch|4|nt=1}} Portal 2 engine branch Portal 2 engine branch
{{portal2branch|col}} → #23B1E5
{{portal2branch|in}} (in Portal 2 engine branch)
{{portal2branch|only}} (only in Portal 2 engine branch)
{{portal2branch|since}} (in all games since Portal 2 engine branch)
{{portal2branch|not}} (not in Portal 2 engine branch)
{{portal2branch|removed|suf=:ru}} (удалено начиная с Portal 2 engine branch)
{{portal2branch|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} (auch in Portal 2 engine branch Counter-Strike: Global Offensive Left 4 Dead 2)