Template:T: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
SirYodaJedi (talk | contribs) m (grammer) |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><code style="padding:0; white-space:pre-wrap">{{{{#if:{{{1|}}}|[[Template:{{{1|}}}|{{{alt|{{{1|}}}}}}]]}}{{{2|}}}}}</code></onlyinclude></includeonly> | <includeonly><onlyinclude><code style="padding:0; white-space:pre-wrap">{{{{#if:{{{1|}}}|[[Template:{{{1|}}}|{{{alt|{{{1|}}}}}}]]}}{{{2|}}}}}</code></onlyinclude></includeonly> | ||
This | 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 == | == Examples == | ||
Revision as of 12:23, 29 August 2024
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
}}