Template:Ill es/doc

This template is a simplified version of Template:Interlanguage link. It links conditionally to one page on Spanish Wikipedia that has the same article name as on English Wikipedia. If the specified article on the English Wikipedia, this template  displays a red link to that anticipated but still-nonexistent article, followed by a link to the specified article on Spanish Wikipedia shown in the link underlying the bracketed '[es]' language code. Hovering over the '[es]' link displays the name of the article on the non-English Wikipedia, as normal. Links to Spanish 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 Spanish link.

Please be aware Cewbot converts ill links to regular (blue) links when it detects the target article has been created on English Wikipedia.

Usage
To link to a Spanish article with the title as the article on English Wikipedia:

For example:


 * gives

To link to a Spanish article with a title, or to multiple foreign articles, please use Interlanguage link instead.

Piped links
To create a piped link (display different link text than the red-linked English Wikipedia article would have), you may use lt. This is described at Template:Interlanguage link.

Vertical alignment
The '[es]' interlanguage link is placed in superscript by default. This can be changed by the use of vertical-align:
 * to place the links in superscript (default)
 * to place the links in subscript
 * to place the links on the baseline

The parameter aliases valign or v may be used instead.

Automatic removal
If you create an interlanguage link and an English Wikipedia article is later created, this template will appear as a regular (blue) link as explained above. The underlying template, however, will eventually be edited automatically (it is one of the tasks assigned to bot Cewbot), removing the template and resulting in a regular (blue) link. While this is intended to save on the computational load, it does mean users will not again be directed to the foreign-language article if the article is later deleted as this information is lost. The link will become a red link.

TemplateData
{	"params": { "1": {			"label": "Article name", "description": "Name of the English Wikipedia page, or suggested name if the page does not exist", "type": "wiki-page-name", "required": true, "suggested": true },		"lt": { "label": "Link text", "description": "Text displayed for the link to the English Wikipedia article, if not the same as the article title", "type": "line", "default": "English Wikipedia article title", "suggested": true },		"vertical-align": { "label": "Vertical alignment", "description": "Alters the position of language links from superscript ('sup') to baseline, or subscript ('sub') position", "aliases": [ "valign", "v" ],			"type": "string", "default": "superscript" }   },    "description": "Link to Spanish Wikipedia if an article in the English Wikipedia doesn't exist.", "paramOrder": [ "1",		"lt", "vertical-align" ] }