Template:Tl: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Template:Tl - display a template name as a link surrounded by braces)
 
(docs excluded)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>
{{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude>
 
display a template name as a link surrounded by braces
{{Documentation}}
{{Documentation}}
[[Category:Internal link templates]]
</noinclude>
</noinclude>

Latest revision as of 23:06, 18 December 2015

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

Template documentation[view] [edit] [history] [purge]

Displays 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.

Usage

A short example is:

{{Tl|Purge}}
which generates
{{Purge}}


TemplateData for Tl

This template displays 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.

Template parameters

ParameterDescriptionTypeStatus
template name1

the template name without the namespace prefix “Template:”, which is added automatically

Linerequired

See also

  • {{C}} - creates a link to a category