Template:Machine translate/doc

From blackwiki
< Template:Machine translate
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)
Jump to navigation Jump to search

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