Template:Shortcut/doc

From Arkaz
< Template:Shortcut
Revision as of 11:32, 6 November 2007 by Terryrayc (talk | contribs) (New page: {{documentation subpage}} ==Usage== This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, WP:SHORT redirects ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, WP:SHORT redirects to Wikipedia:Shortcut. The point of this template is not to list every single redirect (indeed, that's what Special:Whatlinkshere is for); for any given page, it should list only one or two common and easily-remembered redirects.

Don't 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, by default every template uses its own name as a shortcut.

This template can take up to five shortcuts as parameters. The first parameter can be linked or unlinked; the remaining parameters must be unlinked.

Examples

Code Result
{{Shortcut|WP:V}}
Shortcut:
WP:V
{{Shortcut|WP:V|WP:VERIFY}}
Shortcuts:
WP:V
WP:VERIFY
{{Shortcut|[[WP:V]]|WP:VERIFY|WP:SOURCE}}
Shortcuts:
WP:V
WP:VERIFY
WP:SOURCE

Template usage

Please use {{template shortcut}} to indicate convenient template redirects, which is specifically intended for that purpose.