Template:T/doc

From Valve Developer Community
< Template:T
Revision as of 15:51, 6 September 2024 by Nescius (talk | contribs) (Created page with "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 == {{C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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|&#61;}}{{=}}

{{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 }}