Template:Source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly>{{New icon|{{{1}}}|ico=Source-16px.png|name=Source|name:zh-cn=起源引擎|name0=source|name1=Source Engine|suf={{{suf|}}}|addtext={{{addtext|}}}|nt={{{nt|}}}}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{New icon|{{{1}}}|ico=Source-16px.png|name=Source|name:zh-cn=起源引擎|infoname1:ru=Движок Source|name0=source|name1=Source Engine|name1:ru={{#switch:{{{s|}}}|#default=Д|0=д}}виж{{#switch:{{{dec|}}}|#default=ок|0=ки|1=ка|2=ков|3=ку|4=кам|5=ком|6=ками|7=ке|8=ках}} Source|suf={{{suf|}}}|addtext={{{addtext|}}}|nt={{{nt|}}}}}</includeonly></onlyinclude>
{{documentation|Template:Hl2/doc}}
{{documentation|Template:Hl2/doc}}

Revision as of 00:51, 16 September 2022

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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-16px.png
{{source|1}} Source
{{source|2}} Source-16px.png Source
{{source|3}} Source
{{source|3.1}} Source
{{source|4}} Source-16px.png Source
{{source|4.1}} Source-16px.png Source
{{source|4|nt=0}} Source-16px.png source
{{source|4|nt=1}} Source-16px.png Source Engine
{{source|4|nt=2}} Source-16px.png Source
{{source|4|nt=3}} Source-16px.png Source
{{source|4|nt=4}} Source-16px.png Source
{{source|col}} → #ADD8E6
{{source|in}} (in Source-16px.png)
{{source|only}} (only in Source-16px.png)
{{source|since}} (in all games since Source-16px.png)
{{source|not}} (not in Source-16px.png)
{{source|removed}} (removed since Source-16px.png)
{{source|also|addtext={{csgo}} {{l4d2}}}} (also in Source-16px.pngCounter-Strike: Global Offensive Left 4 Dead 2)