Template:R from incorrect name/doc: Difference between revisions
meta>Paine Ellsworth m →Purpose: clarify "which" Wikipedia |
meta>Icebison m →Usage |
||
Line 14: | Line 14: | ||
=== Usage === | === Usage === | ||
* Use this Rcat for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner: | * Use this Rcat for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner: | ||
<code><nowiki>#REDIRECT [[ | <code><nowiki>#REDIRECT [[Mavis Ehlert)]] {{R from incorrect name}}</user:icebison/mavis ehlert></code> | ||
:This is in accord with instructions found at [[Wikipedia:REDCAT]] | :This is in accord with instructions found at [[Wikipedia:REDCAT]] | ||
* The {{tl|This is a redirect}} template may also be used to add this and other appropriate Rcats. | * The {{tl|This is a redirect}} template may also be used to add this and other appropriate Rcats. |
Revision as of 15:53, 12 April 2013
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 redirect category (Rcat) template populates both the Redirects from incorrect names and Unprintworthy redirects categories.
Purpose
This template marks a redirect as one that ought not be used, and provides the correct name. Any link to a redirect page transcluding this template ought to be changed to the correct name.
This template inserts the redirect into the following categories:
- Category:Redirects from incorrect names – Semantically, these redirects should never be used in articles; only the correct name should ever be used.
- Category:Unprintworthy redirects – At some point in the future, Jimmy Wales wants to make a printed version of the full Wikipedia encyclopedia, and redirects from incorrect names are not suitable for a printed version. Unprintworthy redirects would not be used in a printed version; for example, no unprintworthy redirect would be used in an index for a printed encyclopedia.
With a correct name specified for all uses of this template repairing links to the redirect page becomes simple: the link to the redirect page should be changed to the link to the correct name. Given the correct name is specified for each case below, it should always be easy to fix links these redirects.
Usage
- Use this Rcat for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner:
#REDIRECT [[Mavis Ehlert)]] {{R from incorrect name}}</user:icebison/mavis ehlert></code>
:This is in accord with instructions found at [[Wikipedia:REDCAT]]
* The {{tl|This is a redirect}} template may also be used to add this and other appropriate Rcats.
* The Rcats {{tl|Redirect from incorrect name}} and {{tl|R from incorrect title}} redirect here and may also be used.
* There is one parameter, unnamed. It specifies the optional ''correct name''.
<code><nowiki>{{R from incorrect name|Correct name}}
Redirect target is the correct name
{{R from incorrect name}}
When the correct name is the target of the redirect just use {{R from incorrect name}}; the correct name is already available as an article.
Example:
- UK Cycling → British Cycling
#REDIRECT [[British Cycling]] {{R from incorrect name}}
- It is acceptable but unnecessary to specify the redirect target as the correct name:
#REDIRECT [[British Cycling]] {{R from incorrect name|British Cycling}}
Redirect target only mentions subject
{{R from incorrect name|Correct name}}
When linking to article where the subject is only mentioned in the target article, the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage]]. That is, if this redirect is an incorrect name but the target article isn't the correct name, there should be a matching redirect for the correct name.
Example:
- Virginia Western Coal and Iron Railroad → Virginia–Carolina Railway; correct name is Virginia Western Coal and Iron Railway (which also → Virginia–Carolina Railway)
#REDIRECT [[Virginia–Carolina Railway]] {{R from incorrect name|Virginia Western Coal and Iron Railway}}
Redirect targets a #section or #anchor
{{R from incorrect name|Correct name}}
When linking to a section or anchor within an article such as #REDIRECT [[TargetPage#section name]], the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage#section name]]. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.
Example:
- The Legend of Zelda: A Link to the Past Four Swords → The Legend of Zelda: A Link to the Past#A Link to the Past/Four Swords; correct name is The Legend of Zelda: A Link to the Past/Four Swords (which also → The Legend of Zelda: A Link to the Past#A Link to the Past/Four Swords)
#REDIRECT [[The Legend of Zelda: A Link to the Past#A Link to the Past/Four Swords]] {{R from incorrect name|The Legend of Zelda: A Link to the Past/Four Swords}}
See also
- A special case of the R from incorrect name template is {{R from subsidiary title}} for subsidiary titles in the peerage system - an hereditary title held by a royal or a noble, but is not regularly used to identify that person.
- {{R template index}}
- Wikipedia:Template messages/Redirect pages