Template:R from incorrect name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
m update /doc
meta>Paine Ellsworth
→‎Usage: update /doc
Line 21: Line 21:
#REDIRECT [[(target page name)]]
#REDIRECT [[(target page name)]]


{{Redr|from incorrect name}}
{{Rcat shell|
{{R from incorrect name}}
}}
</pre>
</pre>
: Template {{tl|Redr}} is an alias for the ''This is a redirect'' template, which may be used to add up to seven appropriate rcats, along with their parameters, to a redirect.  For more information see the documentation on its template page and its [[Template:This is a redirect/Comparison|comparison page]].  This rcat may also tag a redirect individually:
: Template {{tl|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:
<pre>
<pre>
#REDIRECT [[(target page name)]]
#REDIRECT [[(target page name)]]
Line 30: Line 32:
</pre>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]]
: This is in accord with instructions found at [[Wikipedia:REDCAT]]
* Don't use this template for simple punctuation differences. Instead use {{tl|R from modification}} or one of its aliases such as {{tl|R mod}}.
* Don't use this template for simple punctuation differences. Instead use {{tl|R from modification}}.
* 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:
* 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:
<pre>
<pre>
{{Redr|from incorrect name|p1=(correct name)}}
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
</pre>
</pre>
:''or'':
:''or'':
Line 44: Line 48:
#REDIRECT [[British Cycling]]
#REDIRECT [[British Cycling]]


{{Redr|from incorrect name}}
{{Rcat shell|
{{R from incorrect name}}
}}
</pre>
</pre>
:''or'':
:''or'':
Line 56: Line 62:
#REDIRECT [[British Cycling]]
#REDIRECT [[British Cycling]]


{{Redr|from incorrect name|p1=British Cycling}}
{{Rcat shell|
{{R from incorrect name|British Cycling}}
}}
</pre>
</pre>
:''or'':
:''or'':
Line 70: Line 78:
: If the target article just mentions the correct name and is not actually titled with it, then this rcat is used as follows:
: If the target article just mentions the correct name and is not actually titled with it, then this rcat is used as follows:
<pre>
<pre>
{{Redr|from incorrect name|p1=(correct name)}}
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
</pre>
</pre>
:''or'':
:''or'':
Line 83: Line 93:
#REDIRECT [[Virginia–Carolina Railway]]
#REDIRECT [[Virginia–Carolina Railway]]


{{Redr|from incorrect name|p1=Virginia Western Coal and Iron Railway}}
{{Rcat shell|
{{R from incorrect name|Virginia Western Coal and Iron Railway}}
}}
</pre>
</pre>
: This will change the wording to "The correct name is {{maroon|<big>Virginia Western Coal and Iron Railway</big>}}."
: This will change the wording to "The correct name is {{maroon|<big>Virginia Western Coal and Iron Railway</big>}}."
Line 93: Line 105:
#REDIRECT [[(target page)#(section or anchor title)]]
#REDIRECT [[(target page)#(section or anchor title)]]


{{Redr|from incorrect name|p1=(correct name)|(either "to section" or "to anchor")}}
{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R to section}} (or {{R to anchor}} if not a section title)
}}
</pre>
</pre>
: 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''.
: 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''.
Line 101: Line 116:
: {{anchor|print}}By default, this template sorts redirects into the {{c|Unprintworthy redirects}} category.  Sometimes 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:
: {{anchor|print}}By default, this template sorts redirects into the {{c|Unprintworthy redirects}} category.  Sometimes 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:
<pre>
<pre>
{{Redr|from incorrect name|n1=printworthy}}
{{Rcat shell|
{{R from incorrect name||printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
   or:
   or:
{{Redr|from incorrect name|p1=(correct name)|n1=printworthy}}
{{Rcat shell|
{{R from incorrect name|(correct name)|printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
</pre>
</pre>
: That will subdue the default unprintworthy category and populate {{Cat|Printworthy redirects}}.  This must be done if {{tl|R with possibilities}} is also used on the redirect.  Otherwise, the redirect will be sorted to both ''Printworthy'' and ''Unprintworthy'' categories, an undesirable outcome.
: That will subdue the default unprintworthy category and populate {{Cat|Printworthy redirects}}.  This must be done if {{tl|R with possibilities}} is also used on the redirect.  Otherwise, the redirect will be sorted to both ''Printworthy'' and ''Unprintworthy'' categories, an undesirable situation.


==== Aliases ====
==== Aliases ====

Revision as of 10:39, 25 July 2016

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:

At some point in the future, Jimmy Wales wants to make more printed versions of Wikipedia encyclopedia articles. 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.

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 rcat template in any namespace.
  • 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)]]

{{Rcat shell|
{{R from incorrect name}}
}}
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:
#REDIRECT [[(target page name)]]

{{R from incorrect name}}
This is in accord with instructions found at Wikipedia:REDCAT
  • Don't use this template for simple punctuation differences. Instead use {{R from modification}}.
  • 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:
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
or:
{{R from incorrect name|(correct name)}}

Example:

UK CyclingBritish Cycling (the target, "British Cycling", is the name of an organisation)
#REDIRECT [[British Cycling]]

{{Rcat shell|
{{R from incorrect name}}
}}
or:
#REDIRECT [[British Cycling]]

{{R from incorrect name}}
It is acceptable (however unnecessary and redundant) to specify the redirect target as the correct name:
#REDIRECT [[British Cycling]]

{{Rcat shell|
{{R from incorrect name|British Cycling}}
}}
or:
#REDIRECT [[British Cycling]]

{{R from incorrect name|British Cycling}}
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 Template:Maroon."

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:
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
or:
{{R from incorrect name|(correct name)}}
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 RailroadVirginia–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]]

{{Rcat shell|
{{R from incorrect name|Virginia Western Coal and Iron Railway}}
}}
This will change the wording to "The correct name is Template:Maroon."

Redirect targets a #section or #anchor:

When the redirect is to a section or anchor within an article, then the correct usage is:
#REDIRECT [[(target page)#(section or anchor title)]]

{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R to section}} (or {{R to anchor}} if not a section title)
}}
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.

Printability:

By default, this template sorts redirects into the Unprintworthy redirects category. Sometimes 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:
{{Rcat shell|
{{R from incorrect name||printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
  or:
{{Rcat shell|
{{R from incorrect name|(correct name)|printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
That will subdue the default unprintworthy category and populate Category:Printworthy redirects. This must be done if {{R with possibilities}} is also used on the redirect. Otherwise, the redirect will be sorted to both Printworthy and Unprintworthy categories, an undesirable situation.

Aliases

See also