ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Tn/doc

ਵਿਕੀਸਰੋਤ ਤੋਂ

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.

{{tn|name}}

It will render this:

{{name}}

Compare with:

{{tl|name}}

Which renders this:

{{name}}

See also

[ਸੋਧੋ]

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.