Difference between revisions of "Template:Tl"

From Mania Tech Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{[[Template:{{{1}}}|{{{1}}}]]}}</includeonly><noinclude> == Purpose == Shortcut to display a template name as a link surrounded by braces, thus showing how the t...")
 
m (make link visible)
 
Line 1: Line 1:
<includeonly>{{[[Template:{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
+
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>
 
== Purpose ==
 
== Purpose ==
 
Shortcut to display a template name as a link surrounded by braces, thus showing how the template name would be used in wiki source. Its primary use is in instruction and documentation. For example:
 
Shortcut to display a template name as a link surrounded by braces, thus showing how the template name would be used in wiki source. Its primary use is in instruction and documentation. For example:
  
:{{c|<nowiki>{{tl|c}}</nowiki>}}
+
:{{c|<nowiki>{{tl|cat}}</nowiki>}}
 
renders as:
 
renders as:
:<nowiki>{{</nowiki>[[Template:C|c]]<nowiki>}}</nowiki>
+
:<nowiki>{{</nowiki>[[Template:Cat|cat]]<nowiki>}}</nowiki>
  
 
=== Source ===
 
=== Source ===

Latest revision as of 13:07, 6 June 2017

{{[[Template:{{{1}}}|{{{1}}}]]}}

Purpose

Shortcut to display a template name as a link surrounded by braces, thus showing how the template name would be used in wiki source. Its primary use is in instruction and documentation. For example:

{{tl|cat}}

renders as:

{{cat}}

Source

This template is adapted from DoomWiki.org.