سانچہ:Tn

وکیپیڈیا توں
Jump to navigation Jump to search
Documentation icon دستاویز سانچہ[کچا کم] [ترمیم] [تریخ] [تطہیر]

This template is used similarly to {{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 {{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 Template name.

Usage[لکھو]

{{tn|name}}

It will render this:

{{name}}

Compare with:

{{tl|name}}

Which renders this:

{{name}}

See also[لکھو]

There are several similar templates, these two lists most of them with some examples:

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

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}} سانچہ:Tlu Supports linking to any namespace
{{xpd|Hatnote|Some hatnote text}} سانچہ:Xpd1 Shows code, example and a link to expand the template code

With utility links[لکھو]

Code example Effect
{{lts|Hatnote}} Template:Hatnote (edit talk links history)
{{t links|Hatnote}} سانچہ:T links
{{tfd links|Hatnote}} سانچہ:Tfd links
{{tiw|Hatnote}}
{{tltt|Hatnote}} سانچہ:Tltt
{{tetl|Hatnote}} سانچہ:Tetl
{{Tlsetl|Hatnote}} سانچہ:Tlsetl
{{ti|Hatnote}} سانچہ:Ti
{{tic|Hatnote}} سانچہ:Tic
{{tiw|Hatnote}}
{{tlt|Hatnote}} سانچہ:Tlt
{{ttl|Hatnote}} سانچہ:Ttl
{{Twlh|Hatnote}} سانچہ:Twlh