Template:R avoided double redirect/doc

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.

When used by itself:

  • From an avoided double redirect: This is a redirect from an alternative title or related topic of (redirect page name), another redirect to the same title. Because double redirects are disallowed, both pages currently point to (target article).
    • If (redirect page name) is retargeted or is expanded into a separate article, template, or other project page, this redirect will be recategorized to be updated.


Purpose

edit

Some redirects should target other redirects, but that is not allowed by Wikipedia software. A redirect that targets another redirect is called a "double redirect". This redirect category (rcat) template may be used to tag redirects from alternative forms (abbreviations, disambiguated titles, etc.) of titles that are themselves redirects to broader-topic articles (whether or not marked as redirects with possibilities). To avoid a double redirect, any alternative-title redirect must also target the same broader article, and must be updated if the redirect from the more specific title is converted to a separate article.

Usage

edit
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R avoided double redirect|1=(specified page)}}
}}
or the 1= may be omitted:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R avoided double redirect|(specified page)}}
}}
The "(specified page)" is the other redirect that has possibilities of being converted into an article, and to which the tagged redirect may someday be retargeted.
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 article title)]]

{{R avoided double redirect|(specified page)}}
This is in accord with instructions found at Wikipedia:REDCAT.
#REDIRECT [[Voyage to the Bottom of the Sea (TV series)]]

{{Rcat shell|
{{R avoided double redirect|Harriman Nelson}}
{{R unprintworthy}}
}}
or if applied individually:
#REDIRECT [[Voyage to the Bottom of the Sea (TV series)]]

{{R avoided double redirect|Harriman Nelson}}
The individual usage on the Admiral Harriman Nelson redirect would display (without the border):


  • From an avoided double redirect: This is a redirect from an alternative title or related topic of Harriman Nelson, another redirect to the same title.
    • This is a broken redirect (its target does not exist).


If a new article is later created at Harriman Nelson, then the template output on the Admiral Harriman Nelson redirect will automatically change to:


  • From an avoided double redirect: This is a redirect from an alternative title or related topic of Harriman Nelson, a former redirect to the same title.
    • This is a broken redirect (its target does not exist).


In the first case above, the boldface From an avoided double redirect would actually link to the main category, Avoided double redirects, and in the second case the link would automatically be altered to Category:Avoided double redirects to be updated.

Usage with other redirect categories

edit

Avoided double redirects are considered to inherit the redirect categories of the initial redirect and should not be placed in redirect categories that apply in the same way to both. (This would create a redundancy that would increase the maintenance burden.) For instance, say Campus of Foobar University is a redirect to Foobar University tagged with {{R from subtopic}} and {{R to section}}. The avoided double redirect, Foobar University campus, should be tagged only with {{R from avoided double redirect}}, not {{R from subtopic}} and {{R to section}}.

However, additional redirect categories may be used when they apply specifically to the avoided double redirect. For instance, Campus of Fooobar University (with a triple o) could have {{R from misspelling}} in addition to {{R from avoided double redirect}}.

{{R printworthy}} and {{R unprintworthy}} have no meaning on Wikiversity.

Aliases

edit

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for R avoided double redirect

This redirect category (rcat) template may be used to tag redirects from alternative forms (abbreviations, disambiguated titles, etc.) of titles that are themselves redirects to broader-topic articles (whether or not marked as redirects with possibilities). To avoid a double redirect, any alternative-title redirect must also target the same broader article, and must be updated if the redirect from the more specific title is converted to a separate article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Redirect page name1

The page this redirect would target if the page wasn't also a redirect.

Page namerequired

See also

edit