Template:Shortcut/doc: Difference between revisions
Template page
More actions
+cat moved from subject page |
+template data |
||
| Line 1: | Line 1: | ||
{{ | {{documentation subpage}} | ||
| | {| | ||
| | |+ Usage | ||
| | |- | ||
!input | |||
!result | |||
| | |- | ||
| | |<code style="font-size:smaller">{{tlx|shortcut|COM:COM}}</code> | ||
| | |{{Shortcut text}}{{colon}}[[COM:COM]] | ||
| | |- | ||
| | |<code style="font-size:smaller">{{tlx|shortcut|COM:COM|CAT:CAT}}</code> | ||
|{{Shortcut text}}{{colon}}[[COM:COM]] · [[CAT:CAT]] | |||
| | |} | ||
| | |||
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 right, and {{tl|Redirects}} for redirects to templates. | ||
| | ---- | ||
<templatedata> | |||
{ "description": "One or two shortcuts for the given page or section", | |||
"params": | |||
{ "1": | |||
{ "type": "wiki-page-name", | |||
"description": "1st shortcut", | |||
"required": true | |||
}, | |||
}}<includeonly> | "2": | ||
{ "type": "wiki-page-name", | |||
"description": "2nd shortcut" | |||
} } }</templatedata><includeonly> | |||
[[Category:Header templates]] | [[Category:Header templates]] | ||
[[Category:Internationalised header templates]] | [[Category:Internationalised header templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 05:03, 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, and {{Redirects}} for redirects to templates.
One or two shortcuts for the given page or section
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | 1st shortcut | Page name | required |
| 2 | 2 | 2nd shortcut | Page name | optional |