Template:Gldsrc

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 {{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

Note.png Note: Some of the examples given may lead to non-existent pages.
{{gldsrc}} GoldSrc
{{gldsrc|1}} GoldSrc
{{gldsrc|2}} GoldSrc GoldSrc
{{gldsrc|3}} GoldSrc
{{gldsrc|4}} GoldSrc GoldSrc
{{gldsrc|4|nt=0}} GoldSrc gldsrc
{{gldsrc|4|nt=1}} GoldSrc Goldsource
{{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 GoldSrc Counter-Strike: Global Offensive Left 4 Dead 2)