Template:Treason
来自Valve Developer Community
跳转到导航
跳转到搜索
文档页面 Template:Treason/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
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,3.1,4,4.1,col,in,also,only,since,removed,not; - {{{nt}}} – Optional: This option allows you to select a custom game and software name if it is specified in the template. 0 is most often a game abbreviation. You can click on "Edit" to view the available game/software names.
- {{{addtext}}} – Optional: If {{{1}}} is set to
in,also,only,since,removedornot, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Translations
Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}.
Examples
{{treason}}
|
→ |
{{treason|1}}
|
→ Treason |
{{treason|2}}
|
→ |
{{treason|3}}
|
→ Treason |
{{treason|3.1}}
|
→ Treason |
{{treason|4}}
|
→ |
{{treason|4.1}}
|
→ |
{{treason|4|nt=0}}
|
→ |
{{treason|4|nt=1}}
|
→ |
{{treason|4|nt=2}}
|
→ |
{{treason|4|nt=3}}
|
→ |
{{treason|4|nt=4}}
|
→ |
{{treason|col}}
|
→ #E10C0E |
{{treason|in}}
|
→ (存在于 |
{{treason|only}}
|
→ (仅存在于 |
{{treason|since}}
|
→ (存在于自 |
{{treason|not}}
|
→ (不存在于 |
{{treason|removed}}
|
→ (被移除于 |
{{treason|also|addtext={{csgo}} {{l4d2}}}}
|
→ (也存在于 |