Template:Tl: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
Goraf (talk | contribs)
Template:Tl - display a template name as a link surrounded by braces
 
Goraf (talk | contribs)
link name added
Line 1: Line 1:
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>
{{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude>


display a template name as a link surrounded by braces
display a template name as a link surrounded by braces

Revision as of 17:57, 29 December 2013

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

display a template name as a link surrounded by braces

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