Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Template:Source/doc

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

Usage

Delivers the icon and/or a link of the game that has this abbreviation. 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.pngNote:Some of the examples given may lead to non-existent pages.
{{source}} Source
{{source|1}} Source
{{source|2}} Source Source
{{source|3}} Source
{{source|3.1}} Source
{{source|4}} Source Source
{{source|4.1}} Source Source
{{source|4|nt=0}} Source Source 1
{{source|4|nt=1}} Source Source Engine
{{source|4|nt=2}} Source Source 1 engine
{{source|4|nt=3}} Source Source 1
{{source|4|nt=4}} Source Source engine
{{source|col}} → #f2a52b
{{source|in}} (in Source)
{{source|only}} (only in Source)
{{source|since}} (in all games since Source)
{{source|not}} (not in Source)
{{source|removed}} (removed since Source)
{{source|also|addtext={{csgo}} {{l4d2}}}} (also in SourceCounter-Strike: Global Offensive Left 4 Dead 2)