Template:shortcut
Appearance
- The following documentation is located at Template:shortcut/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Uses Lua:
This template displays the list of shortcuts for a page. To use this template, pass the page names of the shortcuts as numbered parameters. Multiple comma-separated shortcuts can be included in a single numbered parameter as long as there isn't a space after the comma. Shortcuts in the template space can omit the Template: prefix. Template shortcuts are rendered with the double-brace syntax, as shown:
{{shortcut|l}} |
→ |
{{shortcut|altsp,alt sp,alt sp of,alt spell,alt spelling of}} |
→ |
{{shortcut|CAT:E|CAT:ERR|CAT:ERROR}} |
→ |
The template checks whether the shortcuts exist and point back to the transcluding page. If they do not, the page is placed in Category:Shortcut boxes needing attention.