More languages
More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{3|}}}|[{{{1}}} {{{3}}}]|{{{1}}}}}<sup>([https://translate.google.com/translate?sl=auto&tl=en&u={{{1}}} Google translate]{{#if:{{{2|}}}|, from {{{2}}}}})</sup></includeonly> | <includeonly>{{#if:{{{3|}}}|[{{{1}}} {{{3}}}]|{{{1}}}}}<sup>([https://translate.google.com/translate?sl=auto&tl=en&u={{{1}}} Google translate]{{#if:{{{2|}}}|, from {{{2}}}}})</sup></includeonly><noinclude> | ||
<blockquote class="toccolours" style="padding:50px"><div style="font-size:200%">Usage:</div><br> | |||
<noinclude><blockquote class="toccolours" style="padding:50px"><div style="font-size:200%">Usage:</div><br> | |||
*<nowiki>{{gtranslate|link|language of origin|caption of link}}</nowiki><br><br> | *<nowiki>{{gtranslate|link|language of origin|caption of link}}</nowiki><br><br> | ||
i.e.<br><br> | i.e.<br><br> | ||
Line 15: | Line 14: | ||
{{gtranslate|https://pcb.org.br/|3=PCB website}} | {{gtranslate|https://pcb.org.br/|3=PCB website}} | ||
</blockquote> | </blockquote> | ||
</noinclude> |
Latest revision as of 13:11, 25 November 2020
Usage:
- {{gtranslate|link|language of origin|caption of link}}
i.e.
{{gtranslate|https://pcb.org.br/|Portuguese|PCB website}}
Produces:
PCB website(Google translate, from Portuguese)
Note that the last two parameters are optional:
{{gtranslate|https://pcb.org.br/}}, producing:
https://pcb.org.br/(Google translate)To put the caption in the link, but not its language of origin, you'll have to do this:
{{gtranslate|https://pcb.org.br/|3=PCB website}}, producing:
PCB website(Google translate)