Difference between revisions of "Template:Translator"
From Testiwiki
(first draft) |
m |
||
Line 1: | Line 1: | ||
− | [http:// | + | [http://translate.google.com/translate?hl={{#if:{{{5|}}}|{{{5}}}|en}}&sl={{#if:{{{3|}}}|{{{3}}}|ar}}&tl={{#if:{{{4|}}}|{{{4}}}|en}}&u={{{1}}} {{#if:{{{2|}}}|{{{2}}}|}} T({{#if:{{{3|}}}|{{{3}}}|ar}})] |
<noinclude> | <noinclude> | ||
Explanation of parameters: | Explanation of parameters: |
Latest revision as of 20:44, 13 May 2008
Explanation of parameters:
- translate: shows a top bar with explanation about the Google translator
- translate_c: does not show the top bar
- u: URL (parameter {{{1}}} in the template; obligatory)
- text shown on page (parameter {{{2}}} in the template; default T({{{3}}}) )
- sl: source language (parameter {{{3}}} in the template; default: ar)
- tl: target language (parameter {{{4}}} in the template; default: en)
- hl: user language for e.g. the top bar (parameter {{{5}}} in the template; default: en)