This template is used similarly to Template:Tl to show the name of a template with the pairs of open and close braces around it. But this variant makes the inner braces part of the link, whereas Template:Tl does not make the braces part of the link. This is to allow easier clicking of very short template names. The "Tn" name is short for Template name.

{{tn|template_name}}

Example with comparison

دَییشدیر
{{tn|!}} produces: {{!}}
{{tl|!}} produces: {{!}}

General-purpose formatting

دَییشدیر
  • 1 {{tlg}} is the most general, allowing any combination of text style and/or link style options.
  • 2 Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.
  • 3 Uses monospace font but not <code>...</code>.
  • 4 Allows links to templates in any namespace.

Other formatting templates

دَییشدیر
Code example Effect Notes
{{tl2|Hatnote|lang=fr}} {{hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
{{tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Supports linking to any namespace
{{xpd|Hatnote|Some hatnote text}} "{{hatnote|Some hatnote text}}" می‌دهد "" [۱] Shows code, example and a link to expand the template code
{{para|title|<var>book title</var>}} |title=book title Formats template parameters for display, with or without values
دَییشدیر
Code example Effect
{{lts|Hatnote}} شابلون:Hatnote(دییش دانیش لینکلر تاریخ)
{{t links|Hatnote}} Hatnote (دییش دانیش تاریخ لینکلر # /subpages /بلگه /بلگه دییش /sbox /sbox diff /test)
{{tfd links|Hatnote}} Template:Hatnote&nbsp;(edit⧼tpt-languages-separator⧽talk⧼tpt-languages-separator⧽history⧼tpt-languages-separator⧽links⧼tpt-languages-separator⧽logs⧼tpt-languages-separator⧽subpages⧼tpt-languages-separator⧽delete)
{{tiw|Hatnote}} شابلون:hatnote (backlinks, edit)
{{tltt|Hatnote}} {{Hatnote}}
{{tetl|Hatnote}} {{&#160;Hatnote&#160;}}
links&#160;talk&#160;view
{{tsetl|Hatnote}} {{&#160;subst:Hatnote&#160;}}
&#160;links&#160;talk&#160;view
{{ti|Hatnote}} شابلون:Hatnote (دانیشیق · لینکلر · دییش)
{{tic|Hatnote}} Template:Hatnote (talk, links, edit)
{{tiw|Hatnote}} شابلون:Hatnote (backlinks, edit)
{{tlt|Hatnote}} &#123;{Hatnote}} (talk)
{{ttl|Hatnote}} &#123;{Hatnote}}&nbsp;(t/l)
{{twlh|Hatnote}} Template:Hatnote (links, talk)