Jump to content

Template:Interlanguage link with draft/doc

From Wikipedia, the free encyclopedia

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, 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.

[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

Olena Chaplynska [draft; uk; ru; ja]


TemplateData

[edit]

Similar to {{Interlanguage link}}, but offers the draft functionality.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
44

no description

Unknownoptional
55

no description

Unknownoptional
66

no description

Unknownoptional
77

no description

Unknownoptional
88

no description

Unknownoptional
99

no description

Unknownoptional
1010

no description

Unknownoptional
1111

no description

Unknownoptional
1212

no description

Unknownoptional
1313

no description

Unknownoptional
1414

no description

Unknownoptional
1515

no description

Unknownoptional
1616

no description

Unknownoptional
1717

no description

Unknownoptional
1818

no description

Unknownoptional
1919

no description

Unknownoptional
2020

no description

Unknownoptional
2121

no description

Unknownoptional
2222

no description

Unknownoptional
2323

no description

Unknownoptional
2424

no description

Unknownoptional
2525

no description

Unknownoptional
quotequote

no description

Unknownoptional
quotesquotes

no description

Unknownoptional
italicitalic

no description

Unknownoptional
italicsitalics

no description

Unknownoptional
ltlt

no description

Unknownoptional
preservepreserve

no description

Unknownoptional
displaydisplay

no description

Unknownoptional
vertical-alignvertical-align

no description

Unknownoptional
noboldnobold

no description

Unknownoptional
WDWD

no description

Unknownoptional
reasonatorreasonator

no description

Unknownoptional
draftdraft

no description

Unknownoptional
dtdt

no description

Unknownoptional