Template:T
提供: Valve Developer Community
ナビゲーションに移動
検索に移動

The Template:T/doc/ja documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
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|{{P|Some Text}}}} → {{Test|Some Text}}
{{T||Test{{P|Some Text}}}} → {{Test|Some Text}}
{{T|Test|{{P|param|10}}}} → {{Test|param=10}}
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
}}