Purpose සංස්කරණය

This template exists to help track useful redirects from foreign-language terms to English equivalents (only). For English to non-English, or non-English to other non-English, see {{R from alternative language}}. It is not a license to create redirects for arbitrary terms in any language – generally, foreign-language redirects 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 Chinese, Western Panjabi, or Macedonian, respectively. See Wikipedia:Redirects in languages other than English for details.

Usage සංස්කරණය

#REDIRECT [[(target page name)]]

{{Redirect category shell|
{{R to English|1=("from" language code)}}
}}
The {{Redirect category shell}} (shortcut Rcat shell) 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 to English|1=("from" language code)}}
This and the following are in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat on any redirects from a page title:
    • in a non-English language to a title in English. These may be printworthy – usually unprintworthy.
    • in an undetermined language (code "und") to English:
      • {{R to English|und|en}}
  • The first unnamed parameter, |1= (a.k.a. the named parameter, |from=), is used for the ISO 639 code of the source (the redirect title's) language. If the language code is recognized, the redirect populates a more specific category, e.g. ප්‍රවර්ගය:Redirects from French-language terms (provided the language category exists).
Example: the redirect page titled Suisse:
#REDIRECT [[Switzerland]]

{{R to English|1=fr}}

  or:

{{R to English|from=fr}}

  or:

{{R to English|fr}}

ප්‍රවර්ගය:Redirects to French-language terms

Undetermined language code
If the language code in the first parameter is not known, then the "und" language code (for "undetermined") may be used. Then the redirect will populate ප්‍රවර්ගය:Redirects from undetermined-language terms:
{{R to English|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).
  • One or both of the undetermined-language categories ("from" and "to") will be automatically populated if either or both of the parameters are left empty.

Other usage notes සංස්කරණය

  • About other-language book titles: 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 – the reason is that both the French version and the English translation of the work is titled with the French title, Les Misérables; we would not actually redirect that article to "The Miserable Ones" at all. In the case of the redirect title "Annales des empereurs du japon", that is actually the book title of a French translation of the Japanese work, and is therefore tagged with the R from a book rcat. Like several rcats, the R from a book template automatically formats the redirect title in italics.
  • When the redirect and its target differ only in use of diacritical marks, then use {{R from diacritics}} instead.
Multiple usage
If the redirect (from) is found in more than one language, then this rcat may be used more than once. For an example, please see Komunistická strana Československa, which is a redirect found in both the Czech and Slovak languages. There is no restriction on how many times this rcat may be used on a redirect.

Aliases සංස්කරණය

Printworthiness සංස්කරණය

The rcats that are used separately to populate those categories are:

Please click on each one for more details and guidance.
  • Template {{Redirect category shell}} will accept these rcats just like any other.
  • This template itself has a printworthiness parameter, which defaults to "no".
Examples:
{{Rcat shell|
{{R to English|de|printworthy=yes}}
}}

{{Rcat shell|
{{R to English|mnc}}
{{R printworthy}}
}}
Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.

Language codes සංස්කරණය

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.

Listings in ALPHABETICAL order by...

Language codes are also usually found in the infoboxes at the top of language articles in Wikipedia.

See also සංස්කරණය

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:R_to_Sinhala/doc&oldid=582248" වෙතින් සම්ප්‍රවේශනය කෙරිණි