Template:Game name/doc

From Valve Developer Community
< Template:Game name
Revision as of 09:07, 11 September 2021 by Max34 (talk | contribs) (Updated the documentation for the reworked template)
Jump to: navigation, search

An inline template that displays a game's icon and name with colored text and the subtle background from the add, only, and also templates. Intended for situations where the full game name is better than just its icon (such as in the middle of a sentence), and the reader's focus should be drawn to the presence of the game in whatever idea is being communicated.


This template has three parameters:

  • The first parameter has no name. The parameter should be the transclusion of exactly one template from Category:Game icons without the {{}} double braces.
  • name - this parameter is required for the name of the game. The name of the game must necessarily coincide with the title of the article of the game itself to which you are linking. Do not write the suffix there, for this there is a third parameter.
  • suf - this parameter is needed so that the icon and the name of the game lead to the page of the language you need. Be sure to write ":es" but not "es"


{{GameName|hl2|name=Half-Life 2}}
{{GameName|src07|name=Source 2007}}
{{GameName|GMOD|name=Garry's Mod}}
{{GameName|portal2|suf=:ru|name=Portal 2}}

See Also