Difference between revisions of "Template:Tl1"

From MidrangeWiki
Jump to: navigation, search
m (created like Template:Tl but with one parameter)
 
m (creating documentation sub-page)
Line 1: Line 1:
{{[[{{ns:Template}}:{{{1}}}|{{{1}}}]]|{{{2}}}}}
+
{{[[{{ns:Template}}:{{{1}}}|{{{1}}}]]&#124;{{{2}}}}}<includeonly>
 +
[[Category:Internal link templates]]
 +
</includeonly><noinclude>
 +
{{{{FULLPAGENAME}}/doc}}
 +
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 19:48, 16 January 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