Difference between revisions of "Template:InterWiki/doc"

From blackwiki
Jump to navigation Jump to search
imported>Evad37
({{Uses Wikidata}})
imported>JoeHebda
(Add: example for sister projects)
Line 11: Line 11:
 
Where '''''lang_code''''' is the language code as described in [[:meta:Complete list of language Wikipedias available]].
 
Where '''''lang_code''''' is the language code as described in [[:meta:Complete list of language Wikipedias available]].
  
===Example===
+
===Examples===
 +
 
 +
Links to sister projects:
 +
 
 +
<nowiki>{{InterWiki|code=simple|Simple English}}</nowiki>
 +
 
 +
<nowiki>{{InterWiki|code=wikiquote|WikiQuote}}</nowiki>
 +
 
 +
{{InterWiki|code=simple|Simple English}}
 +
{{InterWiki|code=wikiquote|WikiQuote}}
 +
{{clear}}
 +
 
 
<nowiki>===External links===</nowiki>  
 
<nowiki>===External links===</nowiki>  
  

Revision as of 18:59, 22 June 2017

Template:Uses Wikidata

Purpose

This template allows you to add a link from the en.wikipedia article on a language to the Wikipedia project in that language. Just add the following code to the language article in the External links section, just before the first link:

{{InterWiki|code=lang_code}}

Where lang_code is the language code as described in meta:Complete list of language Wikipedias available.

Examples

Links to sister projects:

{{InterWiki|code=simple|Simple English}}

{{InterWiki|code=wikiquote|WikiQuote}}

Template:Sister project Template:Sister project

===External links===

{{InterWiki|code=fr}}

External links

Template:Sister project

See also