Template:Tl: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tt>[[Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki>]]</tt></includeonly><noinclude> | <includeonly><tt>[[Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki>]]</tt></includeonly><noinclude> | ||
{{Related|Wiki Templates}} | {{Related|Wiki Templates|{{mtl|mtl}}}} | ||
== Syntax == | == Syntax == | ||
<pre> | <pre> | ||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
Tl stands for template link and 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. | Tl stands for template link and 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. See {{tl|mtl}} for a nonlink version of this template that can be used as a parameter that will be turned into a link. | ||
For example: | For example: |
Revision as of 00:08, 8 April 2009
Related topics: Wiki Templates, {{mtl}}
Syntax
{{tl|template name}}
Usage
Tl stands for template link and 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. See {{mtl}} for a nonlink version of this template that can be used as a parameter that will be turned into a link.
For example:
{{tl|Related}}
displays as: