Template:Interlanguage link with draft/doc

This template works very similarly to the 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 on the English Wikipedia, this template  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 (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  entry, or if used in mainspace (as per MOS:DRAFTNOLINK) it behaves identically to the  template.

Usage
The ways of using this template is largely identical to the version without the draft, except that by setting  nonempty (e.g. by putting  ), the draft article may be displayed, and may link to the draft as specified by the   parameter (or, if the parameter doesn't exist, the   parameter).

The shortcut illd may be used.

A full list of language codes can be found at List of Wikipedias.

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

To link to multiple language articles, the parameters are:


 * gives

TemplateData
{	"params": { "1": {},		"2": {},		"3": {},		"4": {},		"5": {},		"6": {},		"7": {},		"8": {},		"9": {},		"10": {},		"11": {},		"12": {},		"13": {},		"14": {},		"15": {},		"16": {},		"17": {},		"18": {},		"19": {},		"20": {},		"21": {},		"22": {},		"23": {},		"24": {},		"25": {},		"quote": {}, "quotes": {}, "italic": {}, "italics": {}, "lt": {}, "preserve": {}, "display": {}, "vertical-align": {}, "nobold": {}, "WD": {}, "reasonator": {}, "draft": {}, "dt": {} },	"description": "Similar to, but offers the draft functionality." }