Difference between revisions of "Template:Tl1"

From MidrangeWiki
Jump to: navigation, search
m (add color to braces like on Template:ccl)
m (aha, this might be the cat that was getting me)
 
Line 1: Line 1:
<span style="color:#2A52BE">{{</span>[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}<span style="color:#2A52BE">}}</span><includeonly>
+
<span style="color:#2A52BE">{{</span>[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}<span style="color:#2A52BE">}}</span><noinclude>
[[Category:Internal link templates]]
 
</includeonly><noinclude>
 
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 18:24, 16 February 2007

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


The template documentation below is transcluded from Template:Tl1/doc [edit]

Documentation

{{tl1}} is used to display a template name as a link, when the template has a single parameter.

Tl1 stands for Template Link 1-parameter.

Usage

{{tl1|template name to display|parameter text}}

Example

Code Result
{{tl1|catredir|NewCatName}} {{catredir|NewCatName}}

See also