Template:Tl/doc: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to 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, thus showing how the template name would be used in c…")
 
No edit summary
 
Line 1: Line 1:

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|Infobox}}</nowiki></code>
::<code><nowiki>{{Tl|File}}</nowiki></code>


:generates
:generates


::{{Tl|Infobox}}
::{{Tl|File}}

Latest revision as of 15:08, 28 August 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|File}}
generates
{{File}}