Template:Shortcut/doc: Difference between revisions
Template page
More actions
+template data |
wikitable |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{| | {| class="wikitable" | ||
|+ Usage | |+ Usage | ||
|- | |- | ||
| Line 15: | Line 15: | ||
The output is shown with <code>class="coordinates"</code>, see [[mediawikiwiki:Help:Page status indicators]] for details. Localization by {{tl|Shortcut text}}. | The output is shown with <code>class="coordinates"</code>, see [[mediawikiwiki:Help:Page status indicators]] for details. Localization by {{tl|Shortcut text}}. | ||
See also {{tl|Shortcut2}} to produce a box floating | See also {{tl|Shortcut2}} to produce a box floating right suited for shortcuts to sections, and {{tl|Redirects}} for redirects to templates. | ||
---- | ---- | ||
<templatedata> | <templatedata> | ||
{ "description": "One or two shortcuts for the given page | { "description": "One or two shortcuts for the given page", | ||
"params": | "params": | ||
{ "1": | { "1": | ||
Revision as of 05:05, 24 April 2015
| input | result |
|---|---|
{{shortcut|COM:COM}}
|
Shortcut: COM:COM |
{{shortcut|COM:COM|CAT:CAT}}
|
Shortcut: COM:COM · CAT:CAT |
The output is shown with class="coordinates", see mediawikiwiki:Help:Page status indicators for details. Localization by {{Shortcut text}}.
See also {{Shortcut2}} to produce a box floating right suited for shortcuts to sections, and {{Redirects}} for redirects to templates.
One or two shortcuts for the given page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | 1st shortcut | Page name | required |
| 2 | 2 | 2nd shortcut | Page name | optional |