Difference between revisions of "Template:Import"
imported>Impsswoon |
imported>Elegie (Use HTTPS for the Google Translate link and have Google Translate retrieve the article to be translated via an HTTPS URL) |
||
| Line 6: | Line 6: | ||
}}<br /> | }}<br /> | ||
{{#switch: {{Lang2iso|{{{1|}}}}} <!--all languages with google translate-->|af |ar |az |be |bg |bn |ca |cs |cy |da |de |el |en |eo |es |et |eu |fa |fi |fr |ga |gl |gu |he |hi |hr |ht |hu |hy |id |is |it |ja |ka |kn |ko |la |lt |lv| mk |ml |mt |nl |no |pl |pt |ro |ru |sh |sk |sl |sq |sr |sv |sw |ta |te |th |tl |tr |uk |ur |vi |yi |zh = | {{#switch: {{Lang2iso|{{{1|}}}}} <!--all languages with google translate-->|af |ar |az |be |bg |bn |ca |cs |cy |da |de |el |en |eo |es |et |eu |fa |fi |fr |ga |gl |gu |he |hi |hr |ht |hu |hy |id |is |it |ja |ka |kn |ko |la |lt |lv| mk |ml |mt |nl |no |pl |pt |ro |ru |sh |sk |sl |sq |sr |sv |sw |ta |te |th |tl |tr |uk |ur |vi |yi |zh = | ||
| − | {{#if:{{{article|}}}|Don't speak {{{1|}}}? Click [ | + | {{#if:{{{article|}}}|Don't speak {{{1|}}}? Click [https://translate.google.com/translate?&u=https%3A%2F%2F{{Lang2iso|{{{1|}}}}}.wikipedia.org%2Fwiki%2F{{urlencode:{{{article}}}}}&sl={{{googlelangcode|{{Lang2iso|{{{1|}}}}}}}}&tl=en here] to read a machine-translated version of the {{{1|}}} article.|}}|#default = }} |
{{hidden | {{hidden | ||
| 1 = Click [show] on the right to review important translation instructions before translating. | | 1 = Click [show] on the right to review important translation instructions before translating. | ||
Revision as of 09:58, 12 June 2017
| This article may be expanded with text translated from the corresponding article in the [[:error: language name required (help):| Wikipedia]]. Click [show] on the right to review important translation instructions before translating.
|
Background
This template is used to mark articles that are better in a foreign-language Wikipedia than in English Wikipedia, and thus should be translated from that language into English.
Usage
To mark an article, tag it with {{Import|language}}.
For example, {{Import|French}} generates:
| This article may be expanded with text translated from the corresponding article in the French Wikipedia. Click [show] on the right to review important translation instructions before translating.
|
A bot will be along shortly to add the correct interwiki link to the template, which will also add a Google translation link if Google is able to translate the relevant language. If you'd like to speed the process up, you can tag the article with {{Translate|language|article=articletitle}} instead. After the article parameter is added, the template will look like:
| This article may be expanded with text translated from the corresponding article in the French Wikipedia. Don't speak French? Click here to read a machine-translated version of the French article. Click [show] on the right to review important translation instructions before translating.
|
This template places articles in the relevant subcategory of Category:Articles needing translation from foreign-language Wikipedias.
Optional parameters
- FA marking
Foreign language featured articles can be marked using fa=yes, as in {{Import|French|fa=yes}}.
- Topic sorting
For languages with over 200 translation requests (currently Chinese, Czech, Danish, Dutch, Finnish, French, German, Hungarian, Italian, Japanese, Lithuanian, Polish, Portuguese, Russian, Spanish, Swedish), the topic= parameter may be used to sort into a variety of standard categories:
topic=bio
Biographytopic=geo
Geographytopic=gov
Government and politicstopic=culture
Culturetopic=hist
Historytopic=sci
Science and technologytopic=sport
Sportstopic=transport
Transporttopic=struct
Building and structure
Custom categories may also be added on a per-language basis as needed.
See also
| The above documentation is transcluded from Template:Import/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |