Template:R from incorrect name/doc: Difference between revisions
meta>Ego White Tray No edit summary |
meta>Paine Ellsworth m tweak |
||
Line 5: | Line 5: | ||
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. | 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. | ||
This template sorts the redirect into the following | This template automatically sorts the redirect into the following category: | ||
* {{Cat|Redirects from incorrect names}} – These redirects should never be used in articles; only the '''''correct name''''' should be used. | * {{Cat|Redirects from incorrect names}} – These redirects should never be used in articles; only the '''''correct name''''' should be used. | ||
When adding this template, also assess whether it should appear in a printed encyclopedia. At some point in the future, [[Jimmy Wales]] wants to make a <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed version]</span> of the full ''Wikipedia'' encyclopedia, and some redirects from incorrect names are not suitable for a printed version, so they are be categorized as [[wp:Printworthiness|unprintworthy]] by adding {{tl|R unprintworthy}}. | When adding this template, also assess whether it should appear in a printed encyclopedia. At some point in the future, [[Jimmy Wales]] wants to make a <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed version]</span> of the full ''Wikipedia'' encyclopedia, and some redirects from incorrect names are not suitable for a printed version, so they are be categorized as [[wp:Printworthiness|unprintworthy]] by adding {{tl|R unprintworthy}}. | ||
Line 20: | Line 20: | ||
: This is in accord with instructions found at [[Wikipedia:REDCAT]] | : This is in accord with instructions found at [[Wikipedia:REDCAT]] | ||
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect. | * Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect. | ||
* Don't use this | * Don't use this template for simple punctuation differences. Instead us {{tl|R from modification}} or one of its aliases, e.g., {{tl|R mod}}. | ||
* There is one parameter, unnamed. It specifies the optional ''correct name'': | * There is one parameter, unnamed. It specifies the optional ''correct name'': | ||
<pre> | <pre> | ||
Line 32: | Line 32: | ||
</pre> | </pre> | ||
When the ''correct name'' is the target of the redirect, then use | When the ''correct name'' is the target of the redirect, then use of the optional first parameter is unnecessary. | ||
parameter. | |||
Example: | Example: | ||
Line 75: | Line 74: | ||
{{R from incorrect name|(correct name)}} | {{R from incorrect name|(correct name)}} | ||
</pre> | </pre> | ||
The ''correct name'' is expected to be a redirect page that also redirects to that same section of the target page. That is, if | 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 is not the correct name, there should be a matching redirect for the ''correct name''. | ||
Example: | Example: |
Revision as of 18:52, 29 May 2014
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. |
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.
This template automatically sorts the redirect into the following category:
- Category:Redirects from incorrect names – These redirects should never be used in articles; only the correct name should be used.
When adding this template, also assess whether it should appear in a printed encyclopedia. At some point in the future, Jimmy Wales wants to make a printed version of the full Wikipedia encyclopedia, and some redirects from incorrect names are not suitable for a printed version, so they are be categorized as unprintworthy by adding {{R unprintworthy}}. 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:
#REDIRECT [[(target page name)]] {{R from incorrect name}}
- This is in accord with instructions found at Wikipedia:REDCAT
- Template {{This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
- Don't use this template for simple punctuation differences. Instead us {{R from modification}} or one of its aliases, e.g., {{R mod}}.
- There is one parameter, unnamed. It specifies the optional correct name:
{{R from incorrect name|(correct name)}}
When redirect target is the correct name
{{R from incorrect name}}
When the correct name is the target of the redirect, then use of the optional first parameter is unnecessary.
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
When linking to article where the subject is only mentioned in the target article, the correct use is:
{{R from incorrect name|(correct name)}}
The correct name is expected to be a redirect page that also redirects to the target page. 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:
#REDIRECT [[Virginia–Carolina Railway]] {{R from incorrect name|Virginia Western Coal and Iron Railway}}
Redirect targets a #section or #anchor
When a redirect is to a section or anchor within an article such as:
#REDIRECT [[(target page)#(section or anchor title)]]
the correct use is
{{R from incorrect name|(correct name)}}
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 is not the correct 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; the correct name is The Legend of Zelda: A Link to the Past/Four Swords, which also redirects to 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}}
Redirects
- Click here for a list of templates that redirect here and that may also be used.
See also
- {{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 alternative name}}
- {{R template index}}
- Wikipedia:Template messages/Redirect pages