Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Gtranslate: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{#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>{{#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>

Revision as of 13:10, 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)