More actions
*>Kephir Replaced content with "{{#invoke:shortcut box|show}}<noinclude>{{documentation}}" |
*>Hydriz Add {{documentation}} |
||
Line 1: | Line 1: | ||
{{ | <div id="shortcut" class="noprint" style="border:1px solid #999; background:#eeeeff; margin:0 0 .5em 1em; text-align:center; padding:5px; float:right; clear:both; font-size:smaller;"> | ||
Shortcut:<br />{{{1}}}</div><noinclude> | |||
{{documentation}} | |||
<!-- Categories, interwikis and TemplateData goes to the /doc subpage --> | |||
</noinclude> |
Revision as of 05:28, 30 November 2014
This template is used to add a box listing all the shortcuts available for the page, usually used on project pages.
Usage
{{shortcut | 1 = List of shortcuts }}
There may be more than one shortcut available for a page. In that case, use the tag <br>
to separate them.
Example
{{shortcut|[[WT:A]]<br>[[WT:ADMIN]]<br>[[WT:SYSOP]]<br>[[WT:MOP]]}}
gives you:
TemplateData
This is the TemplateData documentation for the template used by the new VisualEditor.
Shortcut
Template for listing the available shortcuts to a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shortcuts | 1 | The list of shortcuts available. For multiple shortcuts, please use "<br>" to separate them. | String | required |
The above documentation is transcluded from Template:shortcut/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |