Template:GameName

From Valve Developer Community
Jump to: navigation, search

? ???

Template icon Template documentation[view] [edit] [history] [purge]

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.

Usage

This template has one unnamed parameter. The parameter should be the transclusion of exactly one template from Category:Game icons. You can also specify the abbreviation of the game's name without the {{}} double braces.

Examples

{{GameName|{{hl2}}}}<Half-Life 2> Half-Life 2
{{GameName|hl2}}<Half-Life 2> Half-Life 2
{{GameName|{{src07}}}}<Source><Source> Source 2007
{{GameName|src07}}<Source><Source> Source 2007
{{GameName|{{GMOD}}}}<Garry's Mod> Garry's Mod
{{GameName|GMOD}}<Garry's Mod> Garry's Mod

See Also