Template:Tn/doc

From OIAr
< Template:Tn
Revision as of 09:46, 30 March 2013 by Jan Schoonderbeek (talk | contribs) (ref fix for tlx)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used similarly to {{tlx}}, to show the name of a template with the open and close braces around it. But this macro makes the inner braces part of the link, whereas {{tlx}} does not make the braces part of the link. This is to allow shorter template names to be easier to click on. The "Tn" name is short for Template name.

Usage

{{tn|name}}

It will render this:

{{name}}

Compare with:

{{tlx|name}}

Which renders this:

{{name}}