සැකිල්ල:පරිවර්තිත පිටුව
ලිපිය තුල අඩංගු වන්නේ Please provide the language code of the source wiki අනිර්දිෂ්ට ලිපියකි. |
මෙම සැකිල්ල පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
This template may be used to give information about content imported into the English Wikipedia from a non-English-language Wikipedia. (See here for rationale.)
Usage
[සංස්කරණය]On the talk page of an article (or other page) incorporating a translation, insert the following:
{{translated page|SourceLanguageCode|SourcePageTitle|version=123456789|insertversion=987654321|section=name}}
Parameter | Required? | Usage |
---|---|---|
1 (first parameter) |
ඔව් | The language code of the source page, for example de for German, fr for French, or another from meta:List of Wikipedias.
|
2 (second parameter) |
ඔව් | The exact name of the source page. (This will become a link, so non-English characters must be retained. Do not transliterate the title.) |
3 (third parameter) |
නැත | Additional pertinent information, in sentence form. This will be inserted at the end of the standard text. |
version |
Recommended | The version identifier of the revision of the source page from which the translation was derived. (To find this, select the history of the source page, and click on the date that corresponds to that revision. The resulting page will have a URL that ends with a number, e.g. ...oldid=123456789 . That number is the version identifier.)
|
insertversion |
Recommended | The version identifier of the revision of the target page into which the translation was placed. (Follow the same procedure as for version , but with the target page.)
|
section |
නැත | If the inserted translation is contained in one section of the target page, insert its name here. (A direct link to that section will be created.) |
small |
නැත | This template defaults to a small message box (equivalent to small=yes ). If you have good reason to use a full-sized talk page banner instead, small=no will generate one.[Note 1]
|
nocat |
නැත | Set this parameter to nocat=true only when transcluding the template as an example.[Note 2] (For example, it is used on this documentation page to prevent this page from being categorized as a translation.) Further information is available at Wikipedia:Category suppression.
|
partial |
නැත | Set this parameter to any non-blank value when the translation is a partial translation. |
In the preceding table, the first and second (unnamed) parameters are required in order to comply with Wikimedia projects' licensing terms (e.g. CC BY-SA). The version
and insertversion
parameters are (strongly) recommended, because they allow readers to identify the exact source and target revisions, without searching through the revision histories.
This template can be used more than once, if several translations were inserted (from several revisions of one article, several articles and/or several Wikipedias). Group the {{translated page}} templates in chronological order, with the newest (i.e. largest insertversion
, when used) on top. Arrange the {{translated page}} boxes with other low-priority items, just before the first topic on the talk page. Even if a section of the talk page talks about the translation, avoid placing {{translated page}} there, because the template should not be moved when the section is archived.
Note that this template is a self reference, and therefore should be placed on talk pages and not used directly in articles.
Wikipedia:Template namespace has a general introduction to the use of templates.
Unless nocat=true
is set, pages will be automatically categorised into Category:Translated pages, or the appropriate sub-category. Mainspace pages where this template has been accidentally placed (instead of on the associated talk page) are categorised into Category:Pages with incorrect translated page tag.
- Right-to-left character sets
When translating from a language with a right-to-left character set, it may be necessary to place the page name last. Use 2= and, if desired, 3= to re-order parameters.
Examples
[සංස්කරණය]ලිපිය contains fr.විකිපීඩියා වෙතින් වූ « Dassault Super-Étendard » හි පරිවර්තනයකි. (319465919 et seq.) |
ලිපිය තුල අඩංගු වන්නේ de.විකිපීඩියා වෙතින් වූ « ICE 1 » හි පරිවර්තනයකි. (210289191 et seq.) |
ලිපිය තුල අඩංගු වන්නේ he.විකිපීඩියා වෙතින් වූ « אלי_קנר » හි පරිවර්තනයකි. It is an example translation from Hebrew. |
The following code would produce the message boxes at right, from top to bottom:
{{translated page|fr|Dassault Super-Étendard| version=45069858|insertversion=319465919|section=Accidents and incidents}}
{{translated page|de|ICE 1| version=45565777|insertversion=210289191}}
{{translated page|he|3=It is an example translation from Hebrew.|2=אלי_קנר}}
Multiple notices may also be grouped, and optionally collapsed. The following wikicode:
{{Banner holder |collapsed=yes |text=This page contains text [[WP:TFOLWP|translated]] from other articles |image=Merge-arrow-3.svg |size=36 |1=
{{translated page|fr|Dassault Super-Étendard| version=45069858|insertversion=319465919|section=Accidents and incidents}}
{{translated page|de|ICE 1| version=45565777|insertversion=210289191}}
{{translated page|he|3=It is an example translation from Hebrew.|2=אלי_קנר}}
}}
would produce this banner:
This page contains text translated from other articles | |||||||
|
TemplateData
[සංස්කරණය]TemplateData for පරිවර්තිත පිටුව
Used to indicate that a page was translated from another language
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language code of source page | 1 | no description
| Unknown | required |
Exact source page name | 2 | no description | Unknown | required |
Additional information | 3 | no description | Unknown | optional |
Revision ID | version | no description
| Number | suggested |
Revision ID of the target page where the translation was inserted | insertversion | no description
| Number | suggested |
Section name of translated material | section | no description | String | optional |
Whether to render a small or big box | small | no description | Boolean | optional |
Category suppression | nocat | no description | Boolean | optional |
partial | partial | no description | Unknown | optional |
large | large | no description | Unknown | deprecated |
See also
[සංස්කරණය]- {{Expand language}}, which has several sub-templates such as {{Expand Spanish}}, {{Expand German}}, etc.
- {{Rough translation}}, for a translation which may likely contain errors and needs attention
- {{Cleanup translation}}, for requesting help from someone with dual fluency
- {{Proofreader needed}}, for requesting a proofread
- {{Copied}}, for content copied from one page to another within the English Wikipedia
- {{Interlanguage link multi}}, for creating a redlink to a topic that has an article on another language's Wikipedia
- Wikipedia:Copying within Wikipedia
- {{banner holder}}, like the translation shell above; useful for grouping {{Copied}} templates with this one.