Template:T

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)
Icon-translate.png Available doc translations
View
Page history

This template is used to display a template name as a link (or plain text) surrounded by braces, thus showing how the template name would be used in code.

Examples

{{T}}{{}}

{{T|Test}}{{Test}}

{{T||Test}}{{Test}}

{{T|Test|{{P|Some Text}}}}{{Test|Some Text}}

{{T||Test{{P|Some Text}}}}{{Test|Some Text}}

{{T|Test|{{P|param|10}}}}{{Test|param=10}}

{{T|=}}{{=}}

{{T|!}}{{!}}

Multiline support

{{T|Test| {{P| Unnamed param}} {{P| empty |}} {{P| param | 8}} }}

{{Test | Unnamed param | empty = | param = 8 }}

Without link

{{T||Test {{P| Unnamed param}} {{P| empty |}} {{P| param | 8}} }}

{{Test | Unnamed param | empty = | param = 8 }}