Template:Google translation/doc: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<includeonly>{{high-use|1000+}}</includeonly> | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
== Usage == | |||
This template creates an external link to the Google translation of a URL into English. | This template creates an external link to the Google translation of a URL into English. | ||
If you want to provide an (automatic) translation to a source in a language other than English (for example the Spanish Wikipedia), you can simply use {{tl|Google translation}} to add an external {{Google translation|http://es.wikipedia.org|es}} link. | |||
Keep in mind that this is a machine translation which quality is not as good as a professional translation. However, it can be useful to give the reader a rough idea of the original document if other language versions and sources are not available. | |||
Syntax: | Syntax: | ||
| Line 9: | Line 14: | ||
<nowiki>{{Google translation|</nowiki>''url''|''source language code''<nowiki>}}</nowiki> | <nowiki>{{Google translation|</nowiki>''url''|''source language code''<nowiki>}}</nowiki> | ||
== Parameters == | |||
<code>url</code> | <code>url</code> | ||
| Line 95: | Line 100: | ||
|} | |} | ||
== See also == | |||
* {{tl|Google translation named}} - metatemplate called by {{tl|Google translation}} to strip white spaces off the parameters. | |||
Furthermore, Google translation is already implemented in the following citation templates and can be activated by adding a single parameter: | |||
* {{tl|cite web}} | |||
* {{tl|cite news}} | |||
* {{tl|cite book}} | |||
== External links == | == External links == | ||
| Line 104: | Line 115: | ||
[[Category:Language templates]] | [[Category:Language templates]] | ||
[[Category:External link templates|{{PAGENAME}}]] | [[Category:External link templates|{{PAGENAME}}]] | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 20:56, 14 December 2008
Usage
This template creates an external link to the Google translation of a URL into English.
If you want to provide an (automatic) translation to a source in a language other than English (for example the Spanish Wikipedia), you can simply use {{Google translation}} to add an external Google translation link.
Keep in mind that this is a machine translation which quality is not as good as a professional translation. However, it can be useful to give the reader a rough idea of the original document if other language versions and sources are not available.
Syntax:
{{Google translation|url|source language code}}
Parameters
url
- URL of the page to translate (including
http://). - Required.
source language code
- Language code of the source language.
- Required.
- Possible values:
| Code | Language |
|---|---|
| ar | Arabic |
| bg | Bulgarian |
| zh-CN | Chinese (Simplified) |
| zh-TW | Chinese (Traditional) |
| hr | Croatian |
| cs | Czech |
| da | Danish |
| nl | Dutch |
| fi | Finnish |
| fr | French |
| de | German |
| el | Greek |
| hi | Hindi |
| it | Italian |
| ja | Japanese |
| ko | Korean |
| no | Norwegian |
| pl | Polish |
| pt | Portuguese |
| ro | Romanian |
| ru | Russian |
| es | Spanish |
| sv | Swedish |
See also
- {{Google translation named}} - metatemplate called by {{Google translation}} to strip white spaces off the parameters.
Furthermore, Google translation is already implemented in the following citation templates and can be activated by adding a single parameter:
External links