Template:Game icon/doc

From Valve Developer Community
Jump to: navigation, search
Edit-copy.png
This is a documentation subpage for Template:Game icon.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

This template takes the full game name and delivers the game's icon, if existent.

Parameters

  • {{{1}}} - The full name of the game. See {{Game icon name}} for a list of available names. Unknown names generate nothing so this template can be used carelessly without breaking anything.
  • {{{suf}}} - The language suffix for the icon link to link to the correct language page. Do include the full suffix, including the colon, for example :ru, see below.

Examples

{{game icon|Half-Life 2}} Half-Life 2
{{game icon|Half-Life 2|suf=:es}} Half-Life 2
{{game icon|hl2}}
Note.pngNote:The use of #ifexist can make sense but also cause wanted templates to be generated if this template has been used carelessly.

See also

{{Game icon name}}