الگو:ترجمه ماشینی/توضیحات
این زیرصفحهٔ مستندات الگو:ترجمه ماشینی است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
استفاده[ویرایش]
توجه: پارامترهای lang و dlang باید از کدهای ایزو ۱–۶۳۹ باشد.
Required parameters[ویرایش]
- lang or 1 (or first unnamed, positional parameter): The source language's ISO 639-1 code.
- url: URL of online item. Start the url with the communications protocol, e.g. http://. Technical notes, تا تاریخ ۸ دسامبر lc[بروزرسانی] Bing Translate does not work on https:// URLs. Google Translate works by headers sent by the webserver of the original document, and will report "This page is already in English" errors if the site incorrectly supplies English as the document language for non-English material, and this error is fairly common.
Optional parameters[ویرایش]
- title: Title of specific online work being cited. This title will appear as the citation itself, hyperlinked to the URL. Quotation marks or italics (as appropriate for the source type, e.g. an article versus a book – see MOS:TITLES) must be manually included in the value you supply here. This parameter's content will not be displayed if
|nolink=
, below, is used. - nolink: If set to any non-empty value (e.g.
|nolink=y
), the link to the URL will not be included (or will the value of|title=
, if present). This can be used e.g. after a {{Cite web}} link. - noicon: If set to any non-empty value, will also suppress the language-name icon – (به آلمانی و چینی), etc. – in case this has already been given in a preceding citation template with its own
|lang=
parameter. - dlang: The destination language's ISO 639-1 code, default en (English). This is not normally used on English Wikipedia, though it might have some application on talk pages, e.g. in discussion of translating an en.wiki page to another-language Wikipedia.
Examples[ویرایش]
The code:
{{machine translate |lang=es |url=http://www.beisbolcubano.cu/home/news.asp?idNews=27618}}
or simply:
{{machine translate |es |url=http://www.beisbolcubano.cu/home/news.asp?idNews=27618}}
gives:
این مقاله ممکن است حاوی ترجمهٔ تقریبی از اسپانیایی باشد و ممکن است کل یا بخشی از متن آن توسط یک رایانه یا مترجمهای ماشینی تولید شده باشد. |
The code:
{{machine translate |es |url=http://www.beisbolcubano.cu/home/news.asp?idNews=27618 |title="Habana del Este campeón"}}
gives:
این مقاله ممکن است حاوی ترجمهٔ تقریبی از اسپانیایی باشد و ممکن است کل یا بخشی از متن آن توسط یک رایانه یا مترجمهای ماشینی تولید شده باشد. |
The code:
{{machine translate |es |url=http://www.beisbolcubano.cu/home/news.asp?idNews=27618 |nolink=y |noicon=y}}
gives:
این مقاله ممکن است حاوی ترجمهٔ تقریبی از اسپانیایی باشد و ممکن است کل یا بخشی از متن آن توسط یک رایانه یا مترجمهای ماشینی تولید شده باشد. |
The code:
{{machine translate |en |dlang=gd |url=http://en.wikipedia.org/wiki/Scottish_Games_in_North_Carolina |title="Scottish Games in North Carolina" at en.Wikipedia}}
gives:
این مقاله ممکن است حاوی ترجمهٔ تقریبی از انگلیسی باشد و ممکن است کل یا بخشی از متن آن توسط یک رایانه یا مترجمهای ماشینی تولید شده باشد. |
See also[ویرایش]
- {{Google translation}} for just Google.
- {{ترجمه تقریبی}} to tag articles whose text seems to be generated through machine translation