This is a documentation subpage for Template:R from merge. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
This template is used on approximately 57,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
This template should not be substituted nor used to tag soft redirects. |
Usage
<templatestyles src="Hatnote/styles.css"/>
Use this rcat template in any namespace.
- 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}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- 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:
- <templatestyles src="Template:Mono/styles.css"/>{{R to section}}
- <templatestyles src="Template:Mono/styles.css"/>{{R to list entry}}
- <templatestyles src="Template:Mono/styles.css"/>{{R to anchor}}
- If the merged page had the same or very similar content as the target page, then instead apply:
- <templatestyles src="Template:Mono/styles.css"/>{{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 <templatestyles src="Template:Mono/styles.css"/>{{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
- Also known as... – list of templates that redirect here and may also be used
Printworthiness
Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- In main-article namespace, many redirects from merged pages are considered unprintworthy; however, there are many others that are printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not, and that means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
- <templatestyles src="Template:Mono/styles.css"/>{{R printworthy}} and
- <templatestyles src="Template:Mono/styles.css"/>{{R unprintworthy}}
- Please click on each one for more details and guidance.
- Template {{Redirect category shell}} will accept these rcats just like any other.
- Examples:
{{Rcat shell| {{R from merge}} {{R printworthy}} }} {{Rcat shell| {{R from merge}} {{R unprintworthy}} }}
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
R from merge
[[Category:TemplateData documentation{{#translation:}}]]
<templatedata> { "params": { "1": { "label": "Page content was merged into", "description": "Title of page into which this former content page was merged, if different from the redirect target page.", "type": "wiki-page-name" } }, "description": "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." } </templatedata>
See also
<templatestyles src="Div col/styles.css"/>