Template:R from merge/doc
< Template:R from merge
Revision as of 15:06, 22 April 2024 by Deadfire (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: Wikipedia:Wikidata) --> {{Substitutio...")
This is a documentation subpage for Template:R from merge. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be substituted nor used to tag soft redirects. |
Usage[edit]
- This redirect category (rcat) template is used to tag any redirect page in any namespace that results when a page is merged into another page. This rcat populates Category:Redirects from merges, which is used to track all page merges that might result in the breakage of links, both internal and external, if a redirect is not installed properly.
- For any redirect found that was left behind from a page merge and has not been so sorted, add this rcat in the following manner:
#REDIRECT [[(target page name)]]
{{Rcat shell|
{{R from merge}}
}}
- 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 merge}}
- If this page was merged into a page that is different from the target page, then the unnamed parameter may be used to note the name of the other page in the following manner:
#REDIRECT [[(target page name)]]
{{Rcat shell|
{{R from merge|1=(title of page into which this former content page was merged)}}
}}
- or the
1=
may be omitted:
#REDIRECT [[(target page name)]]
{{Rcat shell|
{{R from merge|(title of page into which this former content page was merged)}}
}}
- and when used individually:
{{R from merge|(title of page into which this former content page was merged)}}
- If the content of the redirect page has been merged to a specific section, list entry or anchor, then also use one of the following to categorize the redirect as appropriate:
{{R to section}}
{{R to list entry}}
{{R to anchor}}
- If the merged page had the same or very similar content as the target page, then instead apply:
{{R from duplicated article}}
to the redirect that was left behind after the merge.- Category:Redirects from duplicated articles is a subcategory of Category:Redirects from merges, so applying
{{R from merge}}
should not be done in this case.
- Any redirect in any namespace that has a substantive page history]] that was not the result of a page merge may be tagged with the {{R with history}} rcat instead.
Aliases[edit]
- Also known as... – list of templates that redirect here and may also be used
TemplateData[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for R from merge
This redirect category (rcat) template is used to tag any redirect page in any namespace that results when a page is merged into another page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page content was merged into | 1 | Title of page into which this former content page was merged, if different from the redirect target page. | Page | optional |