Template:Tl

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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

{{tl}}, or the template link template, is used to display 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.

Parameters

There is only 1 parameter, which is unnamed and required.

Synatx

The syntax for {{tl}} is:

  • {{tl|template name }}

Required parameter

1 (unnamed)

Template name

The 1st parameter is the name of the template to which you want to create a link.

Usage

{{tl|template name}}

Example

Case What you type What you see
Link to template {{tl|admon/tip}} {{admon/tip}}

See also

  • {{tn}}: the same as {{tl}}, but also includes the inner pair of braces in the link, making it easier to click the link when presenting short template names.
  • {{tlc}}: produces a template presentation, with the template's name and it's parameters, and wraps the output in <code>-tags.
  • {{tlf}}: produces a template presentation, with the template's name and it's parameters, and wraps the output in <code>-tags.
  • {{tlp}}: produces a template link, with the template's name and it's parameters, and shows the output in plain text.