Template:Webtrans/doc

From Wikipedia, the free encyclopedia

Usage[edit]

You can use named or unnamed parameters. The first three parameters are required; the fourth is optional. The parameters are (in order):

Unnamed parm number named parameter description
1 url The URL of the page
2 title The title text to show
3 lang The source language's ISO 639-1 code
4 dlang (optional) The language to translate into (ISO 639-1 code)

Examples[edit]

The code

{{webtrans|http://www.toshiseibi.metro.tokyo.jp/seisaku/gyomu/gyomu.pdf|Merger proposal|ja}} 

gives Merger proposal (in Japanese) (Translate to English: Google, Bing, Yandex).

The code

{{webtrans|url=http://www.example.com/?parm=val|title=Merger proposal|lang=de}} 

gives Merger proposal (in German) (Translate to English: Google, Bing, Yandex).


See also[edit]