Template:R from incorrect name/doc
![]() | This is a documentation subpage for Template:R from incorrect name. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 11,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. |
![]() | This template should not be substituted nor used to tag soft redirects. |
Purpose
This template marks a redirect as one that should not be used as a link, and this template provides the correct name. Any link to a redirect page transcluding this template should be changed to the correct name without piping that would hide the correct title.
This template automatically sorts the redirect into the following categories:
- Category:Redirects from incorrect names – should never be used in articles – only the correct name should be used
- Category:Unprintworthy redirects – when a mainspace redirect is tagged
In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Redirects from incorrect names are not usually suitable for a printed version, so they are sorted to the Unprintworthy category by default. See below for what to do for those few incorrect names that are printworthy.
![]() | 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. |
With a correct name specified for all uses of this template, repair of links to the redirect page becomes simple: the link to the redirect page should be changed to link to the correct name. Given the correct name is specified for each case below, it should always be easy to fix links to these redirects.
Usage
- Use this redirect category (rcat) template for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
- From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is given by the target of the redirect.
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
</syntaxhighlight>
- This is in accord with instructions found at Wikipedia:REDCAT.
- This template is not for simple punctuation differences – use {{R from modification}} instead.
- There is one unnamed parameter that may be used to specify the correct name when the target is different from the correct name or title:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- or:
<syntaxhighlight lang="wikitext">
- From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is (correct name).
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
</syntaxhighlight> Example:
<syntaxhighlight lang="wikitext">
- REDIRECT British Cycling
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- or:
<syntaxhighlight lang="wikitext">
- REDIRECT British Cycling
- From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is given by the target of the redirect.
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
</syntaxhighlight>
- It is acceptable (however unnecessary and redundant) to specify the redirect target as the correct name:
<syntaxhighlight lang="wikitext">
- REDIRECT British Cycling
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- or:
<syntaxhighlight lang="wikitext">
- REDIRECT British Cycling
- From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is British Cycling.
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
</syntaxhighlight>
- Both of the above will change the wording from "The correct name is given by the target of the redirect," to "The correct name is British Cycling."
Redirect target only mentions subject:
- If the target article just mentions the correct name and is not actually titled with it, then this rcat is used as follows:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- or:
<syntaxhighlight lang="wikitext">
- From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is (correct name).
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
</syntaxhighlight>
- The correct name should also be a redirect that targets the same article or other page name. That is, if this redirect is an incorrect name, and the target article is not the correct name, there should be a matching redirect page that is titled with the correct name.
Example:
- Virginia Western Coal and Iron Railroad
Virginia–Carolina Railway; the correct name is Virginia Western Coal and Iron Railway, which also redirects to the Virginia–Carolina Railway article:
<syntaxhighlight lang="wikitext">
- REDIRECT Virginia–Carolina Railway
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- This will change the wording to "The correct name is Virginia Western Coal and Iron Railway."
Redirect targets a #section or #anchor:
- When the redirect is to a section or anchor within an article, then the correct usage is:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- The correct name is expected to be either the anchor/section title, or a redirect page that also redirects to that same anchor/section of the target page. That is, if the redirect is an incorrect name, and the target page title, anchor title, or section header is not the correct name (the correct name is down in the page content), then there should be a matching redirect titled with the correct name.
- By default, this template sorts redirects into the Unprintworthy redirects category. There might be the occasional case where an incorrect name is still a good search term. Also, an incorrect title might be the correct name of another subject that has possibilities, that is, a subject that may have its own article someday. To tag and categorize such an "incorrect-name" redirect as printworthy, use the unnamed 2nd parameter in the following manner:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
(note the two pipes together for an "empty" first parameter) or:
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- That will subdue the default unprintworthy category and populate Category:Printworthy redirects instead. This must be done if {{R with possibilities}} is also used on the redirect. Otherwise, the redirect will be sorted to both Printworthy redirects and Unprintworthy redirects categories, an undesirable situation.
Aliases
- Also known as... – list of templates that redirect here and may also be used
TemplateData
TemplateData for R from incorrect name
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Correct name | 1 | The correct name of the subject, if different from the redirect's target. | Page name | optional |
Printability | 2 | Set to "printworthy" to mark the redirect as printworthy (otherwise marked as unprintworthy). | Line | optional |
demo | demo | Set to "yes" to prevent categorization in Category:Redirects from incorrect names | Line | optional |
See also
- {{R from less specific name}}
- {{R from more specific name}}
- {{R from alternative name}}
- {{R from non-neutral name}}
- {{R from subsidiary title}}, a special case of the R from incorrect name template that is used for subsidiary titles in the peerage system – hereditary titles held by royals or nobles, but not regularly used to identify those whom they name
- {{R from misspelling}}
- WikiProject Redirect/Style guide