Template:Gldsrc

From Valve Developer Community
Jump to: navigation, search
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

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 {{Software}}.

Parameters

  • {{{1}}} – Optional: The representation, see the examples below. Can be set to: 1, 2, 3, 4, col, in, also, only, since, removed, not;
  • {{{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

{{gldsrc}} GoldSrc
{{gldsrc|1}} GoldSrc
{{gldsrc|2}} GoldSrc GoldSrc
{{gldsrc|3}} GoldSrc
{{gldsrc|3.1}} GoldSrc
{{gldsrc|4}} GoldSrc GoldSrc
{{gldsrc|4.1}} GoldSrc GoldSrc
{{gldsrc|4|nt=0}} GoldSrc GoldSource
{{gldsrc|4|nt=1}} GoldSrc GoldSrc Engine
{{gldsrc|4|nt=2}} GoldSrc Half-Life Engine
{{gldsrc|4|nt=3}} GoldSrc GoldSrc
{{gldsrc|4|nt=4}} GoldSrc GoldSrc
{{gldsrc|4|nt=5}} GoldSrc GoldSrc
{{gldsrc|4|nt=6}} GoldSrc GoldSrc
{{gldsrc|col}} → #FD7360
{{gldsrc|in}} (in GoldSrc)
{{gldsrc|only}} (only in GoldSrc)
{{gldsrc|since}} (in all games since GoldSrc)
{{gldsrc|not}} (not in GoldSrc)
{{gldsrc|removed}} (removed since GoldSrc)
{{gldsrc|also|addtext={{csgo}} {{l4d2}}}} (also in GoldSrcCounter-Strike: Global Offensive Left 4 Dead 2)