Difference between revisions of "Template:Import"
imported>Applesandalwood m |
imported>Uanfala (Undid revision 870313964 by Applesandalwood (talk)) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | <!--{{Expand language}} begin-->{{Mbox |
| − | | | + | | type = notice |
| − | | | + | | image = [[File:Translation Latin Alphabet.svg|50x40px]] |
| − | | | + | | text = This article '''may be expanded with text translated from the {{#if:{{{article|}}}|[[:{{Lang2iso|{{{1|}}}}}:{{{article}}}|corresponding article]]|corresponding article}} in the [[:{{Lang2iso|{{{1|}}}|default={{error|ERROR - INVALID LANGUAGE}}}}:|{{{1|}}} Wikipedia]]'''. {{#if:{{{date|}}} |
| − | | | + | |  ''<small>({{{date}}})</small>'' |
| − | | | + | }}<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 = |
| − | | | + | {{#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 |
| − | | | + | | 1 = Click [show] on the right to review important translation instructions before translating. |
| − | | | + | | 2 = |
| − | + | {{#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 = | |
| − | | | + | * [[Google Translate|Google's machine translation]] is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into English Wikipedia.|#default = }} |
| − | }} | + | * Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article. |
| − | + | * After translating, {{#if:{{{article|}}}|<code><nowiki>{{Translated|</nowiki>{{Lang2iso|{{{1|}}}}}<nowiki>|</nowiki>{{{article}}}<nowiki>}}</nowiki></code>|{{tl|Translated}}}} must be added to the [[{{TALKPAGENAME}}|talk page]] to ensure [[Wikipedia:Copying within Wikipedia|copyright compliance]]. | |
| − | + | * For more guidance, see [[Wikipedia:Translation]]. | |
| − | + | | headerstyle = padding-right: 3em; font-weight: normal; text-align: left | |
| − | + | }}}}<includeonly><!--if fa, categorize as fa-->{{#ifeq:{{{fa|}}}|yes|[[Category:Featured articles needing translation from {{{1|}}} Wikipedia]]|}}<!--if it's a language worth categorizing (>200 requests) and the topic is set, categorize by topic-->{{#switch: {{Lang2iso|{{{1|}}}}} | cs | da | de | es | fi | fr | hu | it | ja | lt | nl | pl | pt | ru | sv | zh = {{#if:{{{topic|}}}| [[Category:{{#switch: {{{topic|}}}<!--default set of categories--> | |
| − | + | | bio = Biography | |
| − | + | | geo = Geography | |
| − | + | | gov = Government and politics | |
| − | + | | cult | |
| − | + | | culture = Culture | |
| − | + | | hist = History | |
| − | + | | sci = | |
| − | = | + | | tech = Science and technology |
| − | + | | sport = Sports | |
| − | === | + | | transport = Transport |
| − | + | | struct = Building and structure<!--can add additional categories if needed for a specific language--> | |
| − | + | | #default = {{#switch: {{{topic|}}}$${{Lang2iso|{{{1|}}}}} <!-- Glue together the topic and the language code --> | |
| − | + | | muni$$cs = Municipality <!-- topic=muni AND code=cs --> | |
| − | + | | manga$$ja = Manga | |
| − | + | | vg$$ja = Video game | |
| − | + | | #default = }} }} articles needing translation from {{{1|}}} Wikipedia]]|}}}}<!--if neither topic-sorted, nor fa, put in general category-->{{#if:{{{topic|}}}| | {{#ifeq: {{{fa|}}} | | {{#ifexist:Category:Articles needing translation from {{{1|}}} Wikipedia|[[Category:Articles needing translation from {{{1|}}} Wikipedia]]|[[Category:Articles needing translation from foreign-language Wikipedias]]}}}}}}{{main other|{{#if:{{{article|}}}|<!-- a target article has been set we need do nothing -->|{{#ifeq:{{{no interwiki}}}|yes|[[Category:pages with no translate target and no interwiki]]|[[Category:pages with no translate target]]}}}}}}</includeonly><!--{{Expand language}} end--><noinclude>{{Documentation}}</noinclude> | |
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 00:55, 24 November 2018
| 50x40px | 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:
| 50x40px | 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:
| 50x40px | 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=bio15px Biographytopic=geo15px Geographytopic=gov15px Government and politicstopic=culture15px Culturetopic=hist15px Historytopic=sci15px Science and technologytopic=sport15px Sportstopic=transport15px Transporttopic=struct15px 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. |