Template:Machine translate/doc
< Template:Machine translate
Jump to navigation
Jump to search
Revision as of 18:55, 20 August 2016 by imported>SMcCandlish (SMcCandlish moved page Template:Machinetranslate/doc to Template:Machine translate/doc: following move of parent page)
| 40px | This is a documentation subpage for Template:Machine translate. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Note: The lang and dlang parameters should be ISO 639-1 codes.
Required parameters
- url: URL of online item. Start the url with the communications protocol, e.g. http://.
- lang: The source language's ISO 639-1 code.
Optional parameters
- title: Title of online item. This title will appear as the citation itself, hyperlinked to the URL. Will not be displayed if
|nolink=is used. - dlang: The destination language's ISO 639-1 code, default en (English).
- 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.
Example
The code
{{machinetranslate|url=http://www.aljazeera.net/portal|title=Al Jazeera|lang=ar}}
gives Al Jazeera (in Arabic) (Translate: Google, Bing)
See also
- {{Google translation}} for just Google.
- {{rough translation}} to tag articles whose text seems to be generated through machine translation