Jump to content

Template:Tn/doc: Difference between revisions

From OIAr
Jan Schoonderbeek (talk | contribs)
doc copied
 
Jan Schoonderbeek (talk | contribs)
ref fix for tlx
 
Line 17: Line 17:


<pre><nowiki>
<pre><nowiki>
{{tl|name}}
{{tlx|name}}
</nowiki></pre>
</nowiki></pre>



Latest revision as of 09:46, 30 March 2013

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}}