Template:Tn/doc: Difference between revisions
Jump to navigation
Jump to search
(doc copied) |
(ref fix for tlx) |
||
Line 17: | Line 17: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{tlx|name}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Latest revision as of 08:46, 30 March 2013
This is a documentation subpage for Template:Tn (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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}}