This template displays one or more of a template's shortcuts (that is, redirects, also known as aliases, as in the box appearing at the right. {{Tsh}} is a shortcut to this template, {{template shortcut}}, and can be used in its place, as it is in this documentation's source wikitext.

Place this template and its list of few to one, carefully selected shortcut(s) at the top of the template documentation page's wikitext, right underneath {{Documentation subpage}}. In the saved, rendered text, those shortcuts will appear in this template's Shortcut(s) box, whose title will reflect the number of list items by automatically being singular or plural in form.

Although the template can show up to ten shortcuts, you are encouraged to choose well which ones to display in this template's box. Even if many redirects exist, two or three at the most is almost always enough. By keeping the number of redirects presented in the Shortcut box small, it makes it easier to remember them, and the documentation is kept well organized.

List others in the Redirects section of the template documentation. Again, not all of them need to be listed; some shortcuts are there just for historical reasons, and others differ only in minor points such as white spaces or capitalization. Such shortcut-name variations are unnecessary to list at all—just list the standard, most common version of such a variation.

This template has several optional parameters:

  • float – if set to "left", then the box will float to the left of the page, instead of the default float "right".
  • clear – if set to "right" (when float also is set to "right"), the box will be pushed to the right margin of the page, and [clarification needed] Similarly, if set to "left" (when float also is set to "left"), the box will be pushed to the left margin of the page.
  • pre – can be used to show some text before the shortcut links, but within the braces. This is mostly used to add the text "subst:". This shows the proper syntax for using the template with substitution.
  • pre1, pre2 ... – like above, but adds the prefix only to the nth shortcut.

To display one template shortcut named {{uw-v1}}:

{{template shortcut|uw-v1}}

To display three template shortcuts for {{uw-vandalism1}} named {{uw-v1}}, {{uw-vand1}}, and {{uw-vandal1}}:

{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}

Using |float=left makes this template flow to the left of the page:

{{template shortcut|float=left|uw-v1}}

Example with text ("subst:") within the braces

सम्पादन गर्नुहोस्

This is mostly used to add text to show how the template could be used with substitution.

Use |pre2=subst: and |pre3=subst: to show "subst:" before the shortcut links, but within the braces:

{{template shortcut|uw-v1|pre2=subst:|uw-vand1|pre3=subst:|uw-vandal1}}

If you use |pre=subst:, it applies to all of the shortcuts:

{{template shortcut|pre=subst:|uw-v1|uw-vand1|uw-vandal1}}

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

Template shortcutको कागजात

This template displays one or more of a template's shortcuts.
मापदण्डविवरणप्रकारस्थिति
Redirect?redirect
Whether to refer to the "shortcut/s" as "redirect/s" instead.
पूर्वनिर्धारित
False (0)
बुलियनवैकल्पिक
Target?target
Whether to not add the redirect=no URL parameter.
पूर्वनिर्धारित
False (0)
बुलियनवैकल्पिक
Floatfloat
The CSS float property value.
प्रस्तावित मानहरू
left right
पूर्वनिर्धारित
right
Stringवैकल्पिक
Clearclear
The CSS clear property value.
प्रस्तावित मानहरू
left right both
Stringवैकल्पिक
Categorizecategory
Whether to add pages to the error category if no alias or msg is specified.
पूर्वनिर्धारित
True (1)
बुलियनवैकल्पिक
Messagemsg
An unlinked message that goes after the shortcut links.
सामग्रीवैकल्पिक
Default prefixpre
The default prefix
उदाहरण
subst:
Stringवैकल्पिक
Prefix 1pre1
Prefix for template shortcut 1
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 11
Template shortcut 1
ढाँचाआवश्यक
Prefix 2pre2
Prefix for template shortcut 2
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 22
Template shortcut 2
ढाँचावैकल्पिक
Prefix 3pre3
Prefix for template shortcut 3
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 33
Template shortcut 3
ढाँचावैकल्पिक
Prefix 4pre4
Prefix for template shortcut 4
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 44
Template shortcut 4
ढाँचावैकल्पिक
Prefix 5pre5
Prefix for template shortcut 5
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 55
Template shortcut 5
ढाँचावैकल्पिक
Prefix 6pre6
Prefix for template shortcut 6
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 66
Template shortcut 6
ढाँचावैकल्पिक
Prefix 7pre7
Prefix for template shortcut 7
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 77
Template shortcut 7
ढाँचावैकल्पिक
Prefix 8pre8
Prefix for template shortcut 8
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 88
Template shortcut 8
ढाँचावैकल्पिक
Prefix 9pre9
Prefix for template shortcut 9
उदाहरण
subst:
Stringवैकल्पिक
Shortcut 99
Template shortcut 9
ढाँचावैकल्पिक

Format: inline

Test of raw TemplateData output:

This template displays one or more of a template's shortcuts.

ढाँचा प्यारामिटरहरू

This template prefers inline formatting of parameters.

मापदण्डविवरणप्रकारस्थिति
Redirect?redirect

Whether to refer to the "shortcut/s" as "redirect/s" instead.

पूर्वनिर्धारित
0
बुलियनवैकल्पिक
Target?target

Whether to not add the URL parameter.

पूर्वनिर्धारित
0
बुलियनवैकल्पिक
Floatfloat

The CSS property value.

प्रस्तावित मानहरू
left right
पूर्वनिर्धारित
right
Stringवैकल्पिक
Clearclear

The CSS property value.

प्रस्तावित मानहरू
left right both
Stringवैकल्पिक
Categorizecategory

Whether to add pages to the error category if no alias or is specified.

पूर्वनिर्धारित
1
बुलियनवैकल्पिक
Messagemsg

An unlinked message that goes after the shortcut links.

सामग्रीवैकल्पिक
Default prefixpre

The default prefix

उदाहरण
subst:
Stringवैकल्पिक
Prefix 1pre1

Prefix for template shortcut 1

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 11

Template shortcut 1

ढाँचाआवश्यक
Prefix 2pre2

Prefix for template shortcut 2

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 22

Template shortcut 2

ढाँचावैकल्पिक
Prefix 3pre3

Prefix for template shortcut 3

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 33

Template shortcut 3

ढाँचावैकल्पिक
Prefix 4pre4

Prefix for template shortcut 4

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 44

Template shortcut 4

ढाँचावैकल्पिक
Prefix 5pre5

Prefix for template shortcut 5

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 55

Template shortcut 5

ढाँचावैकल्पिक
Prefix 6pre6

Prefix for template shortcut 6

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 66

Template shortcut 6

ढाँचावैकल्पिक
Prefix 7pre7

Prefix for template shortcut 7

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 77

Template shortcut 7

ढाँचावैकल्पिक
Prefix 8pre8

Prefix for template shortcut 8

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 88

Template shortcut 8

ढाँचावैकल्पिक
Prefix 9pre9

Prefix for template shortcut 9

उदाहरण
subst:
Stringवैकल्पिक
Shortcut 99

Template shortcut 9

ढाँचावैकल्पिक