Template:InterWiki/doc
Jump to navigation
Jump to search
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:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
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
Generates 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
- Template:WikisourceWiki (for similarly linking to Wikisource)
- Help:Interwiki linking
- Template:ill, for inline InterWiki links
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this 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 |
Categories:
- Pages with script errors
- Template documentation pages
- Exclude in print
- Infobox templates
- Lua-based templates
- Mbox and messagebox templates
- Pages used in system messages needing protection
- Pages with TemplateStyles errors
- Pages with broken file links
- Template documentation
- Template namespace templates
- Templates
- Templates based on the Infobox Lua module
- Templates generating microformats
- Templates that add a tracking category
- Templates using TemplateData
- Templates with documentation
- Wikipedia metatemplates