Difference between revisions of "Template:Tl"

From FenWiki
Jump to: navigation, search
m (Created page with '<includeonly>{{[[Template:{{{1}}}|{{{1}}}]]}}</includeonly> <noinclude>__NOTOC__ The '''template link''' template is a simple macro template used to display a template name as a…')
 
m
 
Line 4: Line 4:
 
The '''template link''' template is a simple macro template 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. A short example is that the code:
 
The '''template link''' template is a simple macro template 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. A short example is that the code:
  
::<code><nowiki>{{Tl|Example}}</nowiki></code>
+
::<code><nowiki>{{Tl|Patrol}}</nowiki></code>
  
 
:generates
 
:generates
  
::{{Tl|Example}}</noinclude>
+
::{{Tl|Patrol}}</noinclude>

Latest revision as of 17:10, 4 December 2011


The template link template is a simple macro template 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. A short example is that the code:

{{Tl|Patrol}}
generates
{{Patrol}}