Template:Tl: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
Goraf (talk | contribs)
m +Todo: extend and exclude
GBot (talk | contribs)
docs excluded
 
Line 1: Line 1:
{{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude>
{{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude>
{{Todo|Extend descripiton; exclude docs}}
{{Documentation}}
{{Documentation
|link box = off
|content = Displays a template name as a link surrounded by braces.
[[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