Difference between revisions of "Template:Tl/doc"

From DDwiki
Jump to: navigation, search
(Created page with 'The '''template link''' template is a simple macro template used to display a template name as a link surrounded by braces, thu…')
 
 
Line 1: Line 1:
The '''template link''' template is a simple [[w:Macro (computer science)|macro]] [[m:Help:template|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|Example}}</nowiki></code>

Latest revision as of 01:57, 16 April 2012

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|Example}}
generates
{{Example}}