Template:Source 2/doc

来自Valve Developer Community
跳转到导航 跳转到搜索
Edit-copy.png
这是 Template:Source 2 的文档子页面。

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

{{source 2}} 起源2
{{source 2|1}} 起源2
{{source 2|2}} 起源2 起源2
{{source 2|3}} 起源2
{{source 2|3.1}} 起源2
{{source 2|3.2}} 起源2
{{source 2|4}} 起源2 起源2
{{source 2|4.1}} 起源2 起源2
{{source 2|4.2}} 起源2 起源2
{{source 2|4|nt=0}} 起源2 起源2
{{source 2|4|nt=1}} 起源2 起源2引擎
{{source 2|4|nt=2}} 起源2 起源2引擎
{{source 2|4|nt=3}} 起源2 起源2文档
{{source 2|4|nt=doc}} 起源2 起源2文档
{{source 2|col}} → #f2a52b
{{source 2|in}} (存在于 起源2 之中)
{{source 2|only}} (存在于 起源2 之中)
{{source 2|since}} (存在于自 起源2 以来)
{{source 2|not}} (存在于 起源2)
{{source 2|removed}} (被移除起源2 以来)
{{source 2|also|addtext={{csgo}} {{l4d2}}}} (也存在于 起源2Counter-Strike: Global Offensive 求生之路2 之中)