Difference between revisions of "Template:InterWiki/doc"
Jump to navigation
Jump to search
imported>Daviddwd |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 39: | Line 39: | ||
* [[Template:ill]], for inline InterWiki links | * [[Template:ill]], for inline InterWiki links | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES HERE, THANKS --> | <!-- CATEGORIES HERE, THANKS --> | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
| − | }}</includeonly> | + | }}</includeonly> |
<templatedata> | <templatedata> | ||
{ | { | ||
Latest revision as of 22:00, 25 April 2020
| This is a documentation subpage for Template:InterWiki. It contains usage information, categories and other content that is not part of the original template page. |
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:
- The wikitext:
==External links==
{{InterWiki|code=fr}}
- Renders the second-level subheading External links followed by the box:
See also
- Template:WikisourceWiki (for similarly linking to Wikisource)
- Help:Interwiki linking
- Template:ill, for inline InterWiki links
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 |