Template:R from shortcut: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{Template:This is a redirect/rcat|from shortcut}} </noinclude>{{#switch:{{#invoke:RedirectData|getRedirectToNamespace}} |Template= {{Redirect template |id=R from template shortcut |name=From a template shortcut |from=a shortcut page name '''in ''any'' namespace''' |to=a page in template namespace |info=**Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in wp:mainspa...") |
m (Protected "Template:R from shortcut" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
|id=R from template shortcut | |id=R from template shortcut | ||
|name=From a template shortcut | |name=From a template shortcut | ||
|from=a shortcut page name '''in ''any'' [[ | |from=a shortcut page name '''in ''any'' [[wikipedia:namespace|namespace]]''' | ||
|to=a page in [[ | |to=a page in [[wikipedia:template namespace|template namespace]] | ||
|info=**Shortcuts are [[wikilink]]ed on community pages, talk pages, and edit summaries, but not in [[ | |info=**Shortcuts are [[wikipedia:wikilink|wikilink]]ed on community pages, talk pages, and edit summaries, but not in [[wikipedia:mainspace|mainspace]] articles. [[wikipedia:Transclusion|Transclusions]] in mainspace are common and do not need to be "fixed". | ||
|all category=Redirects from template shortcuts | |all category=Redirects from template shortcuts | ||
}} | }} | ||
|#default= | |#default= | ||
Line 17: | Line 16: | ||
|from=a shortcut '''in ''any'' namespace''' | |from=a shortcut '''in ''any'' namespace''' | ||
|to=a page in any namespace except template namespace{{#if:{{{of|}}}{{{for|}}}|. The referent of this shortcut is: {{{of|{{{for}}}}}}}} | |to=a page in any namespace except template namespace{{#if:{{{of|}}}{{{for|}}}|. The referent of this shortcut is: {{{of|{{{for}}}}}}}} | ||
|info=**Shortcuts are [[wikilink]]ed on community pages, talk pages, and edit summaries, but not in [[ | |info=**Shortcuts are [[wikipedia:wikilink|wikilink]]ed on community pages, talk pages, and edit summaries, but not in [[wikipedia:mainspace|mainspace]] articles. | ||
|all category=Redirects from shortcuts | |all category=Redirects from shortcuts | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 05:57, 18 June 2023
When used with the "Redirect category shell" (Rcat shell) template:
This page is a redirect. The following categories are used to track and monitor this redirect:
|
- Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
- From a shortcut: This is a redirect from a shortcut in any namespace to a page in any namespace except template namespace.
- Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in mainspace articles.
Usage
Use this rcat template in any namespace.
- This redirect category (rcat) template populates Category:Redirects from shortcuts
- Add this rcat to a redirect in the following manner:
#REDIRECT [[target page name]] {{Rcat shell| {{R from shortcut}} }}
- Template {{Rcat shell}} is an alias for the {{Redirect category shell}} template, which may be used to add to a redirect as many appropriate rcats as needed, usually from one to seven, along with their parameters. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[target page name]] {{R from shortcut}}
- Use this rcat to tag any redirect that acts as a shortcut: an abbreviated link to an administrative page.
The parameter |of=
or |for=
can be used to specify the referent of the shortcut (e.g. to explain an acronym, since we do not use {{R from abbreviation}} except in mainspace). For example, the shortcut AEIS uses |for="analysis, evaluation, interpretation, or synthesis"
.
TemplateData
Template to be used on redirects in any namespace which are redirects from shortcuts.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shortcut of | of for | To denote the meaning or reason for the shortcut. | Line | suggested |