Template:Gmod

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.
{{gmod}} Garry's Mod
{{gmod|1}} Garry's Mod
{{gmod|2}} Garry's Mod Garry's Mod
{{gmod|3}} Garry's Mod
{{gmod|4}} Garry's Mod Garry's Mod
{{gmod|4|nt=0}} Garry's Mod gmod
{{gmod|4|nt=1}} Garry's Mod Garry's Mod
{{gmod|col}} → #1295F0
{{gmod|in}} (in Garry's Mod)
{{gmod|only}} (only in Garry's Mod)
{{gmod|since}} (in all games since Garry's Mod)
{{gmod|not}} (not in Garry's Mod)
{{gmod|removed}} (removed since Garry's Mod)
{{gmod|also|addtext={{csgo}} {{l4d2}}}} (also in Garry's Mod Counter-Strike: Global Offensive Left 4 Dead 2)