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. |
[[Category:Template documentation pages{{#translation:}}]]
This template is used on approximately 187,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. 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"/>
This redirect category (rcat) template populates Category:Redirects from alternative names. Add this rcat to a redirect in the following manner:
When using <templatestyles src="Template:Nowrap/styles.css"/>{{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 nickname, or a synonym of the target page name. For stage names and other pseudonyms, use the more specific {{R from pseudonym}} instead.
Optional parameters
Either the <templatestyles src="Template:Nowrap/styles.css"/>|of=
or the <templatestyles src="Template:Nowrap/styles.css"/>|1=
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 research, where this subtopic is treated under the term "original research"; the redirect has {{r from alternative name|of=original research}}
, which adds the following to the first sentence: "(in this case, the more common name is: original research)". Three ways to accomplish this are as follows:
{{r from alternative name|of=(alternative name)}}
{{r from alternative name|1=(alternative name)}}
{{r from alternative name|(alternative name)}}
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:
- <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; 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
This is the TemplateData documentation for this template used by VisualEditor and other tools.
R from alternative name
[[Category:TemplateData documentation{{#translation:}}]]
<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.
See also
<templatestyles src="Div col/styles.css"/>