Template:Tl: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tt>[[Template:{{{1}}}|<nowiki>{{</nowkiki>{{{1}}}<nowiki>}}</nowkiki>]]</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 ==
Ti stand 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:
Line 19: Line 19:
{{tl|Related}}
{{tl|Related}}


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

Latest revision as of 18:09, 7 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:

{{Related}}