Template:Template shortcut: Difference between revisions
LincolnBot (talk | contribs) |
GVarnum-WMF (talk | contribs) mNo edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} |
{{#if: {{{1|}}} |
||
| <div class="plainlinks noprint" dir="auto" lang="" style="float:{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}};{{#if:{{{clear|}}}|clear:{{{clear}}};}}margin:2px;margin-{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}}:0;border:1px solid #AAA;background:#FFF;color:#000;padding:.5em;font-size:smaller;line-height:normal;text-align:center">[[: |
| <div class="plainlinks noprint" dir="auto" lang="" style="float:{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}};{{#if:{{{clear|}}}|clear:{{{clear}}};}}margin:2px;margin-{{dir|{{{uselang|{{PAGELANGUAGE}}}}}|left|right}}:0;border:1px solid #AAA;background:#FFF;color:#000;padding:.5em;font-size:smaller;line-height:normal;text-align:center">[[:Wikimedia:Shortcuts|{{#if:{{{2|}}}|{{Shortcut caption|1=true}}|{{Shortcut caption}}}}]]{{colon|{{{uselang|{{PAGELANGUAGE}}}}}}}<!-- |
||
--><br /> {{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!-- |
--><br /> {{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!-- |
||
-->{{#if:{{{2|}}}|<br |
-->{{#if:{{{2|}}}|<br> {{{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}}<!-- |
||
-->{{#if:{{{3|}}}|<br |
-->{{#if:{{{3|}}}|<br> {{{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}}<!-- |
||
-->{{#if:{{{4|}}}|<br |
-->{{#if:{{{4|}}}|<br> {{{{{pre4|}}}[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}]}}}}<!-- |
||
-->{{#if:{{{5|}}}|<br |
-->{{#if:{{{5|}}}|<br> {{{{{pre5|}}}[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}]}}}}<!-- |
||
-->{{#if:{{{6|}}}|<br |
-->{{#if:{{{6|}}}|<br> {{{{{pre6|}}}[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}]}}}}<!-- |
||
--></div> |
--></div> |
||
}}<noinclude>{{documentation|Template:Template shortcut/doc}}</noinclude> |
}}<noinclude>{{documentation|Template:Template shortcut/doc}}</noinclude> |
Latest revision as of 10:22, 27 March 2024
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 |
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |
See also
- {{shortcut}} – The normal shortcut into standard pages.