Template:T
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
→
{{Test
| Unnamed param
| empty =
| param = 8
}}
Without link
→
{{Test
| Unnamed param
| empty =
| param = 8
}}
The above documentation is transcluded from Template:T/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.