Template:Treason/doc

From Valve Developer Community
Jump to: navigation, search
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)
Edit-copy.png
This is a documentation subpage for Template:Treason.
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, 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, removed or not, 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

Note.pngNote:Some of the examples given may lead to non-existent pages.
{{treason}} Treason
{{treason|1}} Treason
{{treason|2}} Treason Treason
{{treason|3}} Treason
{{treason|3.1}} Treason
{{treason|4}} Treason Treason
{{treason|4.1}} Treason Treason
{{treason|4|nt=0}} Treason Klaus Veen's Treason
{{treason|4|nt=1}} Treason Treason Through Time
{{treason|4|nt=2}} Treason Klaus Veen's Treason Through Time
{{treason|4|nt=3}} Treason Treason
{{treason|4|nt=4}} Treason Treason
{{treason|col}} → #E10C0E
{{treason|in}} (in Treason)
{{treason|only}} (only in Treason)
{{treason|since}} (in all games since Treason)
{{treason|not}} (not in Treason)
{{treason|removed}} (removed since Treason)
{{treason|also|addtext={{csgo}} {{l4d2}}}} (also in TreasonCounter-Strike: Global Offensive Left 4 Dead 2)