Template:R from alternative name/doc
This is a documentation subpage for Template:R from alternative name. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many 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
This redirect category (rcat) template populates Category:Redirects from alternative names. Add this rcat to a redirect in the following manner:
When using {{Rcat shell}}
#REDIRECT [[Target page name]] {{Rcat shell| {{R from alternative name}} }}
- Template {{Rcat shell}} is an alias for the template {{Redirect category shell}}, which may be used to add to a redirect page as many appropriate rcats as needed (usually from one to seven) along with their parameters in a demarcated place. For more information, see the documentation on Rcat shell's template page.
When rcats are used individually
#REDIRECT [[Target page name]] {{R from alternative name}}
- This accords with instructions found at Wikipedia:REDCAT.
- Use this rcat on all redirects from a title that is another name such as a pseudonym, a nickname, or a synonym of the target page name.
Optional parameter
The |of=
parameter can be used to specify the more common name. This is useful when redirecting from an obscure term to a more common one that is a subsection or anchor in a broader article that itself is not the other name of what is being redirected. For example Primary research redirects to Research#Forms of reasearch, where this subtopic is treated under the term "original research"; the redirect has {{R from alternative name|of=original research}}
, in addition to {{R to section}}
and {{R from subtopic}}
.
Aliases
- {{R to alternative name}} redirects here and reflects that "alternative" goes both ways.
- 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 the main (article) namespace, many other-name redirects are considered printworthy. However, there are also many that are not 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. 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:
{{R printworthy}}
and{{R unprintworthy}}
please click on each one for more details and guidance.- Template {{Redirect category shell}} will accept these rcats just like any other; for example:
{{Rcat shell| {{R from alternative name}} {{R printworthy}} }} {{Rcat shell| {{R from alternative name}} {{R unprintworthy}} }}
- Either {{Redirect category shell}} or its alias/shortcut templates may be used.
TemplateData
TemplateData for R from alternative name
<TemplateData> {
"description": "Places a redirect in. This template can be added to a redirect which has a name which is a valid alternative to the title of the target page. There are several more specific alternative name redirect templates which can be used instead of this general one. Do not use this if the redirect is an incorrect title for the target page; use
- From an incorrect name: This is a redirect from an erroneous name – either an incorrect name or a title that is unsuitable as a Wikipedia article title or other project page name – that serves readers because it is a good search term. The correct name is given by the target of the redirect.
- Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
instead. ",
"params": { }
}
</TemplateData>
This template takes no parameters.
See {{R from}} for an example that does.