සැකිල්ල:R to Sinhala/doc
This is a documentation subpage for සැකිල්ල:R to Sinhala. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template should not be substituted nor used to tag soft redirects. |
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
[සංස්කරණය]- This redirect category (rcat) template (a wrapper for
{{R from alternative language}}
, with English hard-coded as the target language) should only be used with a foreign language parameter as described below. If applied without a language parameter, the redirect will populate both ප්රවර්ගය:Redirects from undetermined-language terms and ප්රවර්ගය:Redirects to English-language terms. Entries in the former category should be placed into more specific language categories when the "from" language is known, by using ISO 639 codes or appropriate IETF language tags, such as "fr" for French, "la" for Latin, "pt-BR" for Brazilian Portuguese (see code list). If help is needed to determine the language of the redirect, then editors who monitor the undetermined-language categories will help determine the language and code needed to move the redirect to the more specific category. - Add this rcat to a redirect in the following manner:
#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}}
- The above three examples all work exactly the same way and will sort redirects to ප්රවර්ගය:Redirects from French-language terms and ප්රවර්ගය:Redirects to English-language terms.
- If the language code in the first parameter is not recognized, or is recognized but has no specific category created as yet, then the redirect will populate ප්රවර්ගය:Redirects from non-English-language terms and ප්රවර්ගය:Redirects to English-language terms.
ප්රවර්ගය: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
[සංස්කරණය]- 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. |
- Redirects to English are sorted to the Unprintworthy redirects category by default. However, some may be printworthy. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Redirects that should appear in these versions are sorted to the Printworthy redirects category.
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.
- 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.