Template:Shortcut/doc: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|1stat=required | |1stat=required | ||
|2=2 | |2=2 | ||
|2d= | |2d=Second shortcut | ||
|2stat=optional- | |2stat=optional- | ||
|3=3 | |3=3 | ||
|3d= | |3d=Second shortcut | ||
|3stat=optional- | |3stat=optional- | ||
|name=Shortcut | |name=Shortcut | ||
|desc=This template is primarily used on guideline and policy pages to show the shortest alias of a given page. For example, [[COM:VP]] redirects to [[Commons:Village Pump]] | |desc=This template is primarily used on guideline and policy pages to show the shortest alias of a given page. For example, [[COM:VP]] redirects to [[Commons:Village Pump]]. | ||
|namespace=Commons | |namespace=Commons | ||
|usergroup=all | |usergroup=all | ||
| Line 27: | Line 27: | ||
[[Category:Header templates|{{PAGENAME}}]] | [[Category:Header templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 07:23, 27 May 2012
This template is primarily used on guideline and policy pages to show the shortest alias of a given page. For example, COM:VP redirects to Commons:Village Pump.
Usage
{{Shortcut |1= }}
Please do not use this template on other templates, e.g. to state that the shortcut to Template:Foo is in fact {{Foo}}. There's no need to state the obvious like that, each template uses its own name as a shortcut, by default.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | shortcut | empty | required | |
2 | Second shortcut | empty | optional | |
3 | Second shortcut | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the Commons namespace
The template is intended to be used by the following user groups: all users
Relies on:
{{Shortcut text}}
See also
- {{Shortcut2}} produces a box floating to the right
Localization
This template is not intended to be localized.
Localization is via {{Shortcut text}}.