(New page: <includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]}}</tt></includeonly><noinclude> {{Related|Wiki Templates}} == Syntax == <pre> {{tl|template name}} </pre> == Usage == Template link used to...)
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]}}</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 ==
Template link 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:
Line 19: Line 19:
{{tl|Related}}
{{tl|Related}}


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 00:09, 8 April 2009

Related topics: Wiki Templates, {{mtl}}

Syntax Edit

{{tl|template name}}

Usage Edit

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:

{{Related}}