Difference between revisions of "Template:Interlanguage link forced/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (added notice)
imported>AnomieBOT
Line 15: Line 15:
 
*Link to corresponding article in one language:  
 
*Link to corresponding article in one language:  
 
**<code><nowiki>{{ill2|Trout|ro|Păstrăv}}</nowiki></code>  
 
**<code><nowiki>{{ill2|Trout|ro|Păstrăv}}</nowiki></code>  
**::produces: {{ill2|Trout|ro|Păstrăv}}  
+
**::produces: {{Interlanguage link multi|Trout|2=ro|3=Păstrăv|preserve=1}}  
 
*Links to corresponding articles in multiple languages:  
 
*Links to corresponding articles in multiple languages:  
 
**<code><nowiki>{{ill2|Trout|id|Trout|ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}</nowiki></code>  
 
**<code><nowiki>{{ill2|Trout|id|Trout|ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}</nowiki></code>  
**::produces: {{ill2|Trout|id|Trout|ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}
+
**::produces: {{Interlanguage link multi|Trout|2=id|3=Trout|4=ro|5=Păstrăv|6=hu|7=Pisztráng|8=my|9=ထရောက်ငါး|preserve=1}}
 
**:''Note that the name is the same in Bahasa Indonesia (<code>id</code>) and English. And so we can use…''
 
**:''Note that the name is the same in Bahasa Indonesia (<code>id</code>) and English. And so we can use…''
 
**<code><nowiki>{{ill2|Trout|id||ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}</nowiki></code>  
 
**<code><nowiki>{{ill2|Trout|id||ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}</nowiki></code>  
**::which also produces: {{ill2|Trout|id||ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}
+
**::which also produces: {{Interlanguage link multi|Trout|2=id|4=ro|5=Păstrăv|6=hu|7=Pisztráng|8=my|9=ထရောက်ငါး|preserve=1}}
 
**:''…because if the name of the foreign article is omitted, the English name is used.
 
**:''…because if the name of the foreign article is omitted, the English name is used.
  

Revision as of 02:15, 13 November 2016

Notice: This template is now a wrapper for {{Interlanguage link multi}}. Jc86035 (talkcontribs) Use {{re|Jc86035}} to reply to me 15:08, 9 April 2015 (UTC)

History

This template is used on the Wikipedia:WikiProject Belgium page to create links of "wanted" pages to the corresponding articles on foreign language Wikipedias.

Purpose

Use this template if the article titles of the foreign Wikipedias are different from the English title.

Usage

Use : enter {{ill2|Article name| followed by the Wikipedia language codes for each foreign language article you want to link to, each of them followed by a divider | and the article title on that Wikipedia. You can add up to 10 languages. Put a divider | between the languages. Close the template with }}.

Examples

  • Link to corresponding article in one language:
    • {{ill2|Trout|ro|Păstrăv}}
      produces: Trout [ro]
  • Links to corresponding articles in multiple languages:
    • {{ill2|Trout|id|Trout|ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}
      produces: Trout [id; ro; hu; my]
      Note that the name is the same in Bahasa Indonesia (id) and English. And so we can use…
    • {{ill2|Trout|id||ro|Păstrăv|hu|Pisztráng|my|ထရောက်ငါး}}
      which also produces: Trout [id; ro; hu; my]
      …because if the name of the foreign article is omitted, the English name is used.

See also

Template:Interlanguage link template list