Template:Shortcut compact
From Wikipedia, the free encyclopedia
{{Shortcut compact}} is a compact version of the {{shortcut}} template, for use in vertically-constrained locations, such as alongside list items.
It flows to the right of the page, displaying all the shortcuts in a single line of text.
[edit] Usage
Usage is similar to the {{shortcut}} template, see full documentation there. This template accepts up to five shortcuts as parameters. However, in most cases you will only want to display one or two shortcuts with this template, otherwise it may get too wide. Use {{shortcut}} if you need to display more than two shortcuts in the same box.
Originally this template is for use on the Editor's index, which needs to display shortcuts alongside list items and subitems which are vertically close together. The goal is to make the Editor's index more useful as a tool for answering questions, for example on the Help desk. A user can look up entries on the Editor's index, copy the relevant shortcuts, and paste them into links in replies to Help desk questions.
The template may be useful on other pages where multiple shortcut boxes would crowd together vertically.
Unfortunately, when using this template in a list, you must append it to the right of the list item before the item you want the shortcut to line up alongside.
[edit] Examples
| Code | Result |
|---|---|
{{Shortcut compact|WP:V}} |
|
{{Shortcut compact|WP:V|WP:VERIFY|WP:SOURCE}} |
An example showing how to use the template in a list:
| Code | Result |
|---|---|
* A list item
* Another list item
** A subitem {{Shortcut compact|WP:EIW#Learn}}
** Learning:
*** A subsubitem about learning
*** Another subsubitem
|
|
[edit] See also
- {{shortcut}} – The normal shortcut.
- {{policy shortcut}} – For shortcuts to sections of policy pages.
- {{template shortcut}} – Use this one to show the names of shortcuts/redirects to a template.

