Template:InterWiki/doc
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.wikiversity resource on a language to the Wikiversity project in that language. Just add the following code to the language resource 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 Wikiversity, the free university
- The wikitext:
==External links==
{{InterWiki|code=fr}}
- Renders the second-level subheading External links followed by the box:
French edition of Wikiversity, the free university
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.
TemplateData for InterWiki
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language code | code | The language code for the language of the Wikiversity being linked
| String | required |
Language label | 1 resource | The label to use for the link to Wikiversity in that Language
| Unknown | optional |