ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:Template shortcut
This template shows shortcuts (= redirects) to a template, like the box appearing at the right. {{Tsh}}
is a shortcut to {{Template shortcut}}
.
Which to show?
πΉπ½πΌπ°πΉπ³π΄πΉAlthough the template can show up to ten aliases, editors are encouraged to choose well which ones to display. Even if many redirects exist, two or three at the most is almost always enough, and by keeping the number small, it facilitates remembering them, and the situation is kept well organized.
List others in the "aliases" 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 whitespaces or in capitalization. Such names are usually better to hide.
Place this template at the top of the template documentation page.
Optional parameters
πΉπ½πΌπ°πΉπ³π΄πΉ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" (and
|float=right
) the box will be pushed to the right margin of the page, and prevent it from nest to the left of other right floating elements. Similarly, if set to "left" (and|float=left
) the box will be pushed to the left margin of the page. - pre, pre2, pre3 ... up to pre10 β can be used to show some text before the shortcut links, but within the braces. This is mostly used to indicate that the template should be used with substitution.
- top β to change the padding above the box (e.g.
|top=0
for no padding,|top=.2em
,|top=4
/|top=4px
).
Examples
πΉπ½πΌπ°πΉπ³π΄πΉFor one template shortcut named {{uw-v1}}
:
{{ Template shortcut | Uw-v1 }}
To indicate that {Ttl|Uw-vandalism1}} has three shortcuts named: {{Uw-v1}}
, {{Uw-vand1}}
, and {{Uw-vandal1}}
; then the following code may be used:
{{ Template shortcut | Uw-v1 | Uw-vand1 | Uw-vandal1 }}
With additional parameters
πΉπ½πΌπ°πΉπ³π΄πΉUsing |float=left
makes this template flow to the left of the page:
{{Template shortcut|float=left|Uw-v1}}
Using |pre2=subst:
and |pre3=subst:
will show "subst:" before the shortcut links, but within the braces. For example:
{{Template shortcut|Uw-v1|pre2=subst:|Uw-vand1|pre3=subst:|Uw-vandal1}}
See also
πΉπ½πΌπ°πΉπ³π΄πΉ{{Shortcut}}
, the standard shortcut notice.{{Shortcut-l}}
for a left-aligned standard shortcut notice.
{{Policy shortcut}}
for shortcuts to sections of policy pages.