Template:Template shortcut/doc
This is a documentation subpage for Template:Template shortcut. It contains usage information, categories, and other content that is not part of the original template page. |
This template can be used to show the names of shortcuts to a template. It can take up to six shortcuts as parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
first shortcut prefix | pre | Prefix to be used for the first shortcut
| Line | optional |
first shortcut | 1 | The first shortcut’s title, without namespace prefix
| Template | required |
second shortcut prefix | pre2 | Prefix to be used for the second shortcut
| Line | optional |
second shortcut | 2 | The second shortcut’s title, without namespace prefix
| Template | optional |
third shortcut prefix | pre3 | Prefix to be used for the third shortcut
| Line | optional |
third shortcut | 3 | The third shortcut’s title, without namespace prefix
| Template | optional |
fourth shortcut prefix | pre4 | Prefix to be used for the fourth shortcut
| Line | optional |
fourth shortcut | 4 | The fourth shortcut’s title, without namespace prefix
| Template | optional |
fifth shortcut prefix | pre5 | Prefix to be used for the fifth shortcut
| Line | optional |
fifth shortcut | 5 | The fifth shortcut’s title, without namespace prefix
| Template | optional |
sixth shortcut prefix | pre6 | Prefix to be used for the sixth shortcut
| Line | optional |
sixth shortcut | 6 | The sixth shortcut’s title, without namespace prefix
| Template | optional |
language | uselang | Language to display the “shortcut” text in; it also affects on which side of the page the box appears (in case of right-to-left languages). By default the language of the page.
| Line | optional |
Usage
editIf you want to indicate that {{test1}} has shortcuts named {{vand1}}, {{uw-vandal1}}, and {{uw-test1}}, then you could use one of:
{{template shortcut|uw-v1}}
{{template shortcut|uw-v1|uw-vand1}}
{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}
Internationalisation
editThis template has its header name "Shortcut" or "Shortcuts" translated with the {{Shortcut caption}}. The colon, word separators (usually space) and list separator (usually a comma) are translated in {{colon}} and {{comma}}.
The language used (both for text and the box’s floating side) is by default the language of the current page, but it can be overridden using the |uselang=language code
parameter.
See also
edit- {{shortcut}} – The normal shortcut into standard pages.
- en:Template:Template shortcut