Difference between revisions of "Template:InterWiki/doc"
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]]. | ||
| − | === | + | ===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
| 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. |
Contents
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
See also
- Template:WikisourceWiki (for similarly linking to Wikisource)
- Help:Interwiki linking
- Template:ill, for inline InterWiki links