When used with the "Redirect category shell" (Rcat shell) template:
This page is a redirect. The following categories are used to track and monitor this redirect:
|
When used by itself:
This template is used on approximately 82,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.
Preview message: Transclusion count updated automatically (see documentation). |
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 the standard installation of Twinkle adds and removes this template. Thank you! |
This template should not be substituted nor used to tag soft redirects. |
This template uses Lua: |
This template exists to help track useful redirects from foreign-language terms and redirects to other languages from English words and phrases. It is not a license to create redirects between arbitrary terms in any language – generally, foreign-language titles are considered appropriate only when there is a strong connection between the language and the topic. For example, WienVienna makes sense, because German is the official language of Austria; however, these three redirects: 維也納, ویانا and Виена, would be deleted if they existed, because there is no real connection between the city of Vienna and Mandarin, Western Punjabi, or Macedonian, respectively. See Wikipedia:Redirects in languages other than English for details.
#REDIRECT [[(target page name)]]
{{Redirect category shell|
{{R from alternative language|1=("from" language code)|2=("to" language code)|printworthy=[yes/no]}}
}}
#REDIRECT [[(target page name)]]
{{R from alternative language|1=("from" language code)|2=("to" language code)|printworthy=[yes/no]}}
{{R from alternative language|und|en}}
{{R from alternative language|fr|und}}
{{R from alternative language|und|und}}
The first unnamed parameter, |1=
(or the named parameter, |from=
), is used for the ISO 639 code of the source (the redirect title's) language.
#REDIRECT [[Switzerland]]
{{R from alternative language|1=fr}}
{{R from alternative language|from=fr}}
{{R from alternative language|fr}}
The second unnamed parameter, |2=
(or the named parameter, |to=
), will sort the ISO 639 code of the target title's language.
#REDIRECT [[Les Misérables]]
{{R from alternative language|2=fr}}
{{R from alternative language|to=fr}}
{{R from alternative language||fr}}
When these parameters are combined, the redirect will go into two categories, "from" and "to" language terms:
#REDIRECT [[Mi'kmaq]]
{{R from alternative language|1=mic|2=mic}}
{{R from alternative language|from=mic|to=mic}}
{{R from alternative language|mic|mic}}
If the language code in the first or second parameter is not known or there is no language code, then the "und" language code (for "undetermined") may be used. Then the redirect will populate either Category:Redirects from undetermined-language terms or Category:Redirects to undetermined-language terms or both if "und" is used in the first and second parameters.
{{R from alternative language|und|en}}
{{R from alternative language|en|und}}
{{R from alternative language|und|und}}
Editors who monitor those categories will help apply the correct language codes that will make the redirect populate a more specific language category(ies).
In the case of the redirect title The Miserable Ones, that title is just a language translation and is not tagged with the {{R from a book}}
rcat – because both the French and English versions have the French title Les Misérables. In the case of the redirect title "Annales des empereurs du japon", that is actually the title of a French translation of the Japanese work, and is tagged with {{R from a book}}
.
Redirects from English to another language: Anything tagged in the form {{R from alternative language|from=en|to=[a non-English language]}} may be a good candidate for moving/renaming per WP:USEENGLISH and WP:COMMONNAME. Some redirects from English to foreign names are errors in naming policy (usually due to the specialized-style fallacy). |
{{R to English}}
– transcludes this template with "en" as the second parameter valuePlease 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 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. It was recognized that only some kinds of page are useful in printed form: in editors' jargon, whether they are wp:printworthy.
Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this one, often do not, which leaves editors to decide whether redirects are Printworthy or Unprintworthy.
{{R to English}}
defaults to categorizing redirects as unprintworthy.Two rcats can be used to populate these categories:
{{R printworthy}}
and{{R unprintworthy}}
Template {{Redirect category shell}}
(or its shortcut, {{Rcat shell}}
) will accept these rcats just like any other:
{{Rcat shell|
{{R from alternative language|en|de|printworthy=no}}
{{R unprintworthy}}
}}
{{Rcat shell|
{{R from alternative language|mnc|en}}
{{R printworthy}}
}}
|printworthy=
parameter only when the language of the redirect title is in English (en). So if the code in the first parameter is "en", and it is decided that the redirect is not printworthy, then the parameter can be set to |printworthy=no
, which will sort the redirect to Category:Unprintworthy redirects. If any other language code is used in the first parameter, then the |printworthy=
parameter is disabled. Those are the times when editors will have to choose between using {{R printworthy}} or {{R unprintworthy}}.The following links are to pages that show the two-, three- or four-letter language codes that this rcat has used and uses now to sort redirects to specific-language categories. For complete lists of language codes, see the navbar below.
Language codes are also usually found in the infoboxes at the top of language articles in Wikipedia.
TemplateData for R from alternative language
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Current language | 1 from lang | The redirect title's language ISO 639 code or IETF language tag.
| String | optional |
Target language | 2 to | The redirect target's language ISO 639 code or IETF language tag.
| String | optional |
Printworthy | printworthy | A yes/no value indicating whether this redirect is printworthy (only valid when the current title's language is "en"). | String | optional |