Difference between revisions of "Template:Tl"

From FanimutationWiki
Jump to navigationJump to search
minor (add arg support)
minor (add support for faked 3rd parameter, show faked parameters in italic)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><nowiki>{{</nowiki>{{#ifexist:Template:{{{1}}}|[[Template:{{{1}}}|{{{1}}}]]|'''{{{1}}}'''}}{{#if:{{{2|}}}:{{!}}{{{2}}}}}<nowiki>}}</nowiki></includeonly><noinclude>
+
<includeonly><nowiki>{{</nowiki>{{#ifexist:Template:{{{1}}}|[[Template:{{{1}}}|{{{1}}}]]|'''{{{1}}}'''}}{{#if:{{{2|}}}|{{!}}''{{{2}}}''}}{{#if:{{{3|}}}|{{!}}''{{{3}}}''}}<nowiki>}}</nowiki></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
The '''Template link (tl)''' template is used to display a template name as a link to the template.
 
The '''Template link (tl)''' template is used to display a template name as a link to the template.

Latest revision as of 10:52, 18 October 2007

Usage

The Template link (tl) template is used to display a template name as a link to the template.

Example:

{{tl|stub}}

displays as

{{stub}}