This is a documentation subpage for Template:InterWiki. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
Purpose
editThis 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
editGenerates boxed links to sister projects:
- The wikitext:
{{InterWiki|code=simple|Simple English}}
- Renders the box:
Simple English edition of Wikipedia, the free encyclopedia
- The wikitext:
==External links==
{{InterWiki|code=fr}}
- Renders the second-level subheading External links followed by the box:
French edition of Wikipedia, the free encyclopedia
See also
edit- Template:WikisourceWiki (for similarly linking to Wikisource)
- Help:Interwiki linking
- Template:ill, for inline InterWiki links
TemplateData
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:InterWiki in articles based on its TemplateData.
TemplateData for InterWiki
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language code | code | The language code for the language of the Wikipedia being linked
| String | required |
Language label | 1 article | The label to use for the link to Wikipedia in that Language
| Unknown | optional |