More actions
templatewiki>Pppery Add doc  |
m 1 revision imported: Import from Dev Miraheze  |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly><div class="toc toccolours list-style-none" style="clear: {{{align|right}}}; float: {{{align|right}}}; margin: {{{margin|0 0 1em 1em}}}; min-width: 70px; max-width: 400px;"><div class="toctitle" style="font-weight: bold;">{{#if: {{{redirect|}}}|Redirect|Shortcut}}{{#if: {{{2|}}} | s }}</div><div style="margin: 0 1em;"> | ||
* {{fullurl|{{transclude|{{{1}}}}}|redirect{{=}}no|text={{{1}}}}}{{ | |||
--><div style=" | #if: {{{2|}}} | | ||
* {{fullurl|{{transclude|{{{2}}}}}|redirect{{=}}no|text={{{2}}}}} }}{{ | |||
#if: {{{3|}}} | | |||
* {{fullurl|{{transclude|{{{3}}}}}|redirect{{=}}no|text={{{3}}}}} }}{{ | |||
#if: {{{4|}}} | | |||
}}{{#if:{{{ | * {{fullurl|{{transclude|{{{4}}}}}|redirect{{=}}no|text={{{4}}}}} }}{{ | ||
}}{{#if:{{{ | #if: {{{5|}}} | | ||
}}{{ | * {{fullurl|{{transclude|{{{5}}}}}|redirect{{=}}no|text={{{5}}}}} }}{{ | ||
}}{{#if:{{{ | #if: {{{6|}}} | | ||
}}{{ | * {{fullurl|{{transclude|{{{6}}}}}|redirect{{=}}no|text={{{6}}}}} }}{{ | ||
}}</ | #if: {{{7|}}} | | ||
* {{fullurl|{{transclude|{{{7}}}}}|redirect{{=}}no|text={{{7}}}}} }}{{ | |||
#if: {{{8|}}} | | |||
* {{fullurl|{{transclude|{{{8}}}}}|redirect{{=}}no|text={{{8}}}}} }}{{ | |||
#if: {{{9|}}} | | |||
* {{fullurl|{{transclude|{{{9}}}}}|redirect{{=}}no|text={{{9}}}}} }}</div></div></includeonly><noinclude> | |||
{{documentation}} | |||
<!-- Put categories/interwikis on the documentation page --> | |||
</noinclude> |
Latest revision as of 15:13, 21 July 2025
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 |
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Shortcut/doc.