Template:Tl2
Appearance
{{[[:Template:{{{1}}}|{{{1}}}]]}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This is the {{tl2}} template.
{{tl2}} is similar to {{tl}}. Tl stands for Template link. {{tl2}} is used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.
{{tl2}} differs from {{tl}} in that it displays with a wider, monospaced text style and also takes the named parameters |sister= and |lang= so that it may also be used to list and link templates.
Related template
{{tl}} displays with the same enhanced presentation and can also expand several placeholder parameters to generate a sample template call.
Usage
| Code | Result |
|---|---|
{{tl|x0}}
|
{{x0}} |
{{tl2|x1}}
|
{{x1}}
|
{{tl2|sister=M|3x}}
|
{{3x}}
|
{{tl2|sister=wikibooks|lang=de|WP}}
|
{{WP}}
|