Difference between revisions of "Template:Tl1"

From MidrangeWiki
Jump to: navigation, search
m (creating documentation sub-page)
m (add color to braces like on Template:ccl)
Line 1: Line 1:
{{[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}}}<includeonly>
+
<span style="color:#2A52BE">{{</span>[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}<span style="color:#2A52BE">}}</span><includeonly>
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 14:46, 15 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