Difference between revisions of "Template:Import/doc"

From blackwiki
Jump to navigation Jump to search
imported>Calliopejen1
(Created page with '{{Documentation subpage}} ===Background=== This template is used to mark articles that are better in a foreign-language Wikipedia than in English Wikipedia, and ...')
 
imported>Calliopejen1
Line 5: Line 5:
 
=== Usage ===
 
=== Usage ===
  
To mark an article, tag it with <code><nowiki>{{Translate|</nowiki>''language''<nowiki>}}</nowiki></code>.
+
To mark an article, tag it with <code><nowiki>{{Import|</nowiki>''language''<nowiki>}}</nowiki></code>.
  
For example, <code><nowiki>{{Translate|German}}</nowiki></code> generates:
+
For example, <code><nowiki>{{Import|French}}</nowiki></code> generates:
  
{{User:Calliopejen1/Expand language sandbox|French}}
+
{{Import|French}}
 
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 <nowiki>{{Translate|</nowiki>''language''<nowiki>|article=</nowiki>''articletitle''<nowiki>}}</nowiki> instead.  After the article parameter is added, the template will look like:
 
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 <nowiki>{{Translate|</nowiki>''language''<nowiki>|article=</nowiki>''articletitle''<nowiki>}}</nowiki> instead.  After the article parameter is added, the template will look like:
  
{{User:Calliopejen1/Expand language sandbox|French|article=Chien}}
+
{{Import|French|article=Chien}}
 
This template places articles in the relevant subcategory of [[:Category:Articles needing translation from foreign-language Wikipedias]].
 
This template places articles in the relevant subcategory of [[:Category:Articles needing translation from foreign-language Wikipedias]].
  
 
===Optional parameters===
 
===Optional parameters===
  
Foreign language featured articles can be marked using fa=yes, as in <nowiki>{{Expand French|fa=yes}}</nowiki>.
+
Foreign language featured articles can be marked using fa=yes, as in <code><nowiki>{{Import|French|fa=yes}}</nowiki></code>.
  
 
<includeonly>
 
<includeonly>

Revision as of 14:52, 31 March 2012

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:

Template documentation[create]

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:

Template documentation[create]

This template places articles in the relevant subcategory of Category:Articles needing translation from foreign-language Wikipedias.

Optional parameters

Foreign language featured articles can be marked using fa=yes, as in {{Import|French|fa=yes}}.