Template:R from shortcut: Difference between revisions
Appearance
Content deleted Content added
m we have WT: and CAT: |
per edit request on talk page - to avoid confusion |
||
(35 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Template:This is a redirect/rcat|from shortcut}} |
|||
|
|||
</noinclude>{{#switch:{{#invoke:RedirectData|getRedirectToNamespace}} |
|||
---- |
|||
|Template= |
|||
This is a redirect from a Wikipedia shortcut. Shortcuts are generally reserved for Wikipedia project pages, their discussion pages and categories. |
|||
{{Redirect template |
|||
|id=R from template shortcut |
|||
For more information, follow the category link. |
|||
|name=From a template shortcut |
|||
⚫ | |||
|from=a shortcut page name '''in ''any'' [[WP:namespace|namespace]]''' |
|||
[[Category:Redirects from shortcut| ]] |
|||
|to=a page in [[WP:template namespace|template namespace]] |
|||
[[Category:Redirect templates|Shortcut]] |
|||
|info=**Shortcuts are [[wikilink]]ed on community pages, talk pages, and edit summaries, but not in [[wp:mainspace|mainspace]] articles. [[WP:Transclusion|Transclusions]] in mainspace are common and do not need to be "[[WP:NOTBROKEN|fixed]]". |
|||
[[Category:Unprintworthy redirects| ]] |
|||
|all category=Redirects from template shortcuts |
|||
⚫ | |||
|printworthy=no |
|||
{{{category|[[Category:Redirects from shortcut]]}}} |
|||
}} |
|||
{{{category|[[Category:Unprintworthy redirects]]}}} |
|||
|#default= |
|||
</includeonly> |
|||
{{Redirect template |
|||
|id=R from shortcut |
|||
|name=From a shortcut |
|||
|from=a shortcut in ''any'' namespace |
|||
|to=a page in any 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 [[wp:mainspace|mainspace]] articles. |
|||
|all category=Redirects from shortcuts |
|||
|printworthy=no |
|||
}} |
|||
⚫ | |||
<!-- Place categories on /doc subpage; interwikis go to Wikidata. --> |
|||
{{Documentation}} |
|||
⚫ |
Latest revision as of 09:41, 4 February 2024
When used with the "Redirect category shell" (Rcat shell) template:
![]()
|
- 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.
- Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in mainspace articles.
![]() | This template is used on approximately 37,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
![]() | This template should not be substituted nor used to tag soft redirects. |
Usage
- This redirect category (rcat) template populates Category:Redirects from shortcuts and, when the shortcut is in main-article namespace (mainspace), then Category:Unprintworthy redirects is also populated by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Aliases/shortcuts in mainspace are not suitable for a printed version. In other words, they are unprintworthy.
![]() | Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- 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}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any redirect that acts as a shortcut: an abbreviated link to an administrative page. See Wikipedia:Shortcut for more details.
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 WP:AEIS uses |for="analysis, evaluation, interpretation, or synthesis"
.
TemplateData
Places this redirect in the category [[Category:Redirects from shortcuts]]. If the redirect is in mainspace, it also places it in [[Category:Unprintworthy redirects]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Referent | of for | The referent of the shortcut.
| String | optional |
Aliases
- Also known as... – list of templates that redirect here and may also be used
See also
- {{R from short name}}
- Wikipedia talk:DW, illustrates how this template appears on a talk page
- WikiProject Redirect/Style guide