Template:Tn/doc: Difference between revisions

(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE. --> {{tlf|'''tn'''}} ('''t'''emplate '''n'''ame) works similar to {{tl|tl}}, showing the name of...")
 
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:
{{tlc|tn|'''template name'''}}
{{tlc|tn|'''template name'''}}


==Example==
==Examples==
{| class="wikitable" style="background-color: white;"
Comparison between {{tlf|tn}} and {{tlf|tl}}. Hover over the template links to see the difference.
 
{| class="wikitable" style="background-color: white; text-align: center;"
|-
! Template !! What you type !! What you see
|-
| rowspan="2" | {{tlf|&#33;}} || {{tlc|tn|&amp;#33;}} || {{tn|&#33;}}
|-
| {{tlc|tl|&amp;#33;}} || {{tl|&#33;}}
|-
| rowspan="2" | {{tlf|&#61;}} || {{tlc|tn|&amp;#61;}} || {{tn|&#61;}}
|-
|-
! Case !! What you type !! What you see
| {{tlc|tl|&amp;#61;}} || {{tl|&#61;}}
|-
|-
| rowspan="2" | Comparison between <br>{{tlf|tn}} and {{tlf|tl}} || {{tlc|tn|!}} || {{tn|!}}
| rowspan="2" | {{tlf|&#59;}} || {{tlc|tn|&amp;#59;}} || {{tn|&#59;}}
|-
|-
| {{tlc|tl|!}} || {{tl|!}}
| {{tlc|tl|&amp;#59;}} || {{tl|&#59;}}
|}
|}


==See also==
==See also==
* {{tl|tl}}
* {{tl|tl}}: produces a link to a template, within braces.
* {{tl|tlc}}: produces a template presentation, with the template's name and it's parameters, and wraps the output in &lt;code&gt;-tags.
* {{tl|tlc}}: produces a template presentation, with the template's name and it's parameters, and wraps the output in &lt;code&gt;-tags.
* {{tl|tlf}}: produces a template presentation, with the template's name and it's parameters, and shows the output in plain text.
* {{tl|tlf}}: produces a template presentation, with the template's name and it's parameters, and shows the output in plain text.
* {{tl|tlp}}: produces a template link, with the template's name and it's parameters, and shows the output in plain text.


<includeonly>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<!-- Categories here, please -->
| <!-- Categories below this line, please -->
[[Category:Internal link templates]]
[[Category:Internal template-link templates]]
[[Category:Template namespace templates|Tn]]
[[Category:Typing-aid templates]]}}
[[Category:Template help templates]]
[[Category:Documentation help templates]]
</includeonly>
</includeonly>
3,860

edits