Template:Interlanguage link with draft/doc
This is a documentation subpage for Template:Interlanguage link with draft. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template works very similarly to the {{Interlanguage link}}
template, except that it supports drafts, so that if a draft entry is given, it is displayed first.
It links conditionally to pages on non-English Wikipedias and drafts. If the specified article does not exist on the English Wikipedia, this template intentionally displays a red link to that anticipated but still-nonexistent article, followed by link(s) to the specified draft and article(s) on the non-English Wikipedia(s), shown under the corresponding language code(s), in brackets. Hovering over a non-English link displays the name of the article on the non-English Wikipedia, as normal. Links to non-English Wikipedia articles are always blue; it is up to the editor to make sure they link to the intended article.
If the specified article exists (that is, after the anticipated article has been created) on the English Wikipedia, this template will only show the blue link to that article, and no longer to the non-English link(s) or draft.
When used without the |draft=
entry, or if used in mainspace (as per MOS:DRAFTNOLINK) it behaves identically to the {{Interlanguage link}}
template.
Usage
[edit]The ways of using this template is largely identical to the version without the draft, except that by setting |draft=
nonempty (e.g. by putting y
), the draft article may be displayed, and may link to the draft as specified by the |dt=
parameter (or, if the parameter doesn't exist, the |draft=
parameter).
The shortcut {{illd}} may be used.
A full list of language codes can be found at List of Wikipedias#Detailed list.
As of February 2016[update], if there is a redirect for the term in English Wikipedia, both the redirected (blue) link and interlanguage link(s) are displayed. This is why "casa" appears as a bluelink in the example below.
Please see Template:ill for more details.
Link to multiple languages and draft
[edit]To link to multiple languages and draft with the same title as the English language page, the titles of the page are not necessary; the parameters are:
{{illd|English article title|language 1 code||language 2 code||...|draft=y}}
To link to multiple language articles, the parameters are:
{{illd|English article title|language 1 code|Title in language 1|language 2 code|Title in language 2|...|draft=y|dt=name of draft without the "Draft:" prefix}}
{{illd|Olena Chaplynska|uk|Олена Чаплинська|ru|Чаплинская, Гелена|ja|モトローナ・チャプリーンシカ|draft=y|dt=Sandbox}}
gives
TemplateData
[edit]Similar to {{Interlanguage link}}, but offers the draft functionality.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
2 | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
5 | 5 | no description | Unknown | optional |
6 | 6 | no description | Unknown | optional |
7 | 7 | no description | Unknown | optional |
8 | 8 | no description | Unknown | optional |
9 | 9 | no description | Unknown | optional |
10 | 10 | no description | Unknown | optional |
11 | 11 | no description | Unknown | optional |
12 | 12 | no description | Unknown | optional |
13 | 13 | no description | Unknown | optional |
14 | 14 | no description | Unknown | optional |
15 | 15 | no description | Unknown | optional |
16 | 16 | no description | Unknown | optional |
17 | 17 | no description | Unknown | optional |
18 | 18 | no description | Unknown | optional |
19 | 19 | no description | Unknown | optional |
20 | 20 | no description | Unknown | optional |
21 | 21 | no description | Unknown | optional |
22 | 22 | no description | Unknown | optional |
23 | 23 | no description | Unknown | optional |
24 | 24 | no description | Unknown | optional |
25 | 25 | no description | Unknown | optional |
quote | quote | no description | Unknown | optional |
quotes | quotes | no description | Unknown | optional |
italic | italic | no description | Unknown | optional |
italics | italics | no description | Unknown | optional |
lt | lt | no description | Unknown | optional |
preserve | preserve | no description | Unknown | optional |
display | display | no description | Unknown | optional |
vertical-align | vertical-align | no description | Unknown | optional |
nobold | nobold | no description | Unknown | optional |
WD | WD | no description | Unknown | optional |
reasonator | reasonator | no description | Unknown | optional |
draft | draft | no description | Unknown | optional |
dt | dt | no description | Unknown | optional |