Difference between revisions of "Template:Tl/doc"

From Action
Jump to navigation Jump to search
(Partial documentation from Wikipedia.)
 
m (Interwiki links.)
 
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
<!-- Contetents -->
 
<!-- Contetents -->
The '''template link''' template is a simple [[wikipedia:Macro (computer science)|macro]] [[mediawiki: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 [[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:
  
 
::<code><nowiki>{{Tl|stub}}</nowiki></code>
 
::<code><nowiki>{{Tl|stub}}</nowiki></code>
Line 10: Line 10:
 
::{{Tl|stub}}
 
::{{Tl|stub}}
  
For more information, see the [[wikipedia:Template:Tl|template page]] on Wikipedia.
+
For more information, see the [[w:Template:Tl|template page]] on Wikipedia.
  
 
== External links ==
 
== External links ==

Latest revision as of 21:03, 17 May 2013


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

For more information, see the template page on Wikipedia.

External links