Template:R avoided double redirect
Sarna News

- Boxing The Black Remnant with Jerry "Tycho" Holkins
- VoidBreaker Review - How Clan Sea Fox Ended the Dark Age
- Bad 'Mechs - Thresher Mk II
- HEXTECH Wave 9 Review - Winding Rivers, Tall Walls, and Underground Tunnels
- Hired Steel and Making MechWarrior 5: Clans Cinematics with Constantin & Bernhard of TMC
- Read more →
When used with the "Redirect category shell" (Rcat shell) template:
|
- Template {{Redirect category shell}} may be used to add one or more redirect cat 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 Example.
- 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.
This template should not be substituted nor used to tag soft redirects. |
Because the saved version of a page is used to determine if it is a redirect, this template may incorrectly give an error in preview mode. Save the page to be sure if the error is true or not. |
This template uses Lua: |
Purpose[edit]
Some redirects should target other redirects, but that is not allowed by BattleTechWiki 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]
- This rcat template populates the following categories by default:
- Category:Avoided double redirects – if page specified in the unnamed parameter is still a redirect
- Category:Avoided double redirects to be updated – if specified page is no longer a redirect
- Add this rcat to a redirect page (not a talk-page redirect) in the following manner:
#REDIRECT [[Example]]
{{Rcat shell|
{{R avoided double redirect|1=Example}}
}}
- or the
1=
may be omitted:
#REDIRECT [[Example]]
{{Rcat shell|
{{R avoided double redirect|Example}}
}}
- 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 [[Example]]
{{R avoided double redirect|Example}}
- This is in accord with instructions found at BattleTechWiki:REDCAT.
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}}.
Aliases[edit]
- Also known as... – list of templates that redirect here and may also be used
TemplateData[edit]
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Redirect page name | 1 | The page this redirect would target if the page wasn't also a redirect. | Page | required |