Template:Tl: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
Goraf (talk | contribs)
link name added
GBot (talk | contribs)
docs excluded
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{[[Template:{{{1}}}|{{{2|{{{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[Edit template data]

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