More actions
Created page with "{{documentation header}} {{shc|redirect=yes|short|shc}} Used to show up to 9 shortcut redirects for templates. == Usage == {{shortcut|cmd}} <code><nowiki>{{shortcut|cmd}}</nowiki></code> <div style="clear:both"> {{shortcut|v|cmd|verlink}} <code><nowiki>{{shortcut|v|cmd|verlink}}</nowiki></code> <div style="clear:both"> {{shortcut|redirect=yes|a}} <code><nowiki>{{shortcut|redirect=yes|a}}</nowiki></code> <div style="clear:both"> == TemplateData == <templatedata> { "..." |
mNo edit summary |
||
Line 17: | Line 17: | ||
== TemplateData == | == TemplateData == | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 60: | Line 59: | ||
"align": { | "align": { | ||
"label": "Force alignment", | "label": "Force alignment", | ||
"description": "Overrides the default alignment (right-aligned)", | "description": "Overrides the default alignment (right-aligned).", | ||
"example": "left", | "example": "left", | ||
"type": "string" | "type": "string" | ||
Line 66: | Line 65: | ||
"margin": { | "margin": { | ||
"label": "Margins", | "label": "Margins", | ||
"description": "Override the default margins (default: 0em | "description": "Override the default margins (default: 0em 0em 1em 1em)", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 92: | Line 91: | ||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | }</templatedata> | ||
</templatedata> | |||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Documentation templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 19:58, 16 June 2025
[purge]
This is the documentation page. It should be transcluded into Template:Shortcut. See Template:Documentation for more information.Used to show up to 9 shortcut redirects for templates.
Usage
Shortcut
{{shortcut|cmd}}
{{shortcut|v|cmd|verlink}}
Redirect
{{shortcut|redirect=yes|a}}
TemplateData
Shows a floating box that will list the shortcuts to the page or section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First shortcut | 1 | no description | Page name | required |
Second shortcut | 2 | no description | Page name | optional |
Third shortcut | 3 | no description | Page name | optional |
Fourth shortcut | 4 | no description | Page name | optional |
Fifth shortcut | 5 | no description | Page name | optional |
Sixth shortcut | 6 | no description | Page name | optional |
Seventh shortcut | 7 | no description | Page name | optional |
Eighth shortcut | 8 | no description | Page name | optional |
Ninth shortcut | 9 | no description | Page name | optional |
Force alignment | align | Overrides the default alignment (right-aligned).
| String | optional |
Margins | margin | Override the default margins (default: 0em 0em 1em 1em) | String | optional |
Redirect? | redirect | Changes the title from 'Shortcut' to 'Redirect' if set
| String | optional |