https://history.sydlexia.com/index.php?title=Template:Tn/doc&feed=atom&action=historyTemplate:Tn/doc - Revision history2024-03-29T14:02:55ZRevision history for this page on the wikiMediaWiki 1.33.2https://history.sydlexia.com/index.php?title=Template:Tn/doc&diff=336&oldid=prevSydLexia: Protected "Template:Tn/doc" [edit=sysop:move=sysop]2007-12-09T04:55:36Z<p>Protected "<a href="/index.php?title=Template:Tn/doc" title="Template:Tn/doc">Template:Tn/doc</a>" [edit=sysop:move=sysop]</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 04:55, 9 December 2007</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>SydLexiahttps://history.sydlexia.com/index.php?title=Template:Tn/doc&diff=335&oldid=prevSydLexia: New page: <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This macro is...2007-12-09T04:55:23Z<p>New page: <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This macro is...</p>
<p><b>New page</b></p><div><includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude><br />
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --><br />
<br />
This macro is used similarly to {{tn|tl}}, 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 {{tn|tl}} 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 '''T'''emplate '''n'''ame.<br />
<br />
=== Usage ===<br />
<br />
<pre><nowiki><br />
{{tn|name}}<br />
</nowiki></pre><br />
<br />
It will render this:<br />
<br />
:{{tn|name}}<br />
<br />
Compare with:<br />
<br />
<pre><nowiki><br />
{{tl|name}}<br />
</nowiki></pre><br />
<br />
Which renders this:<br />
<br />
:{{tl|name}}<br />
<br />
=== See also ===<br />
<br />
There are several similar templates, these two lists most of them with some examples:<br />
<br />
* {{tn|tl}}<br />
* {{tn|lts}}<br />
<br />
<br />
<includeonly><br />
<!-- ADD CATEGORIES BELOW THIS LINE --><br />
[[Category:Internal link templates|{{PAGENAME}}]]<br />
[[Category:Typing-aid templates|{{PAGENAME}}]]<br />
<br />
<!-- ADD INTERWIKIS BELOW THIS LINE --><br />
<br />
</includeonly></div>SydLexia