This template links to pages on non-English Wikipedias for pages that do not exist on the English Wikipedia. It displays a red link to the page, as normally occurs for nonexistent pages, followed by one or more links to the non-English article(s). Once the English Wikipedia article is created, the template will show a normal blue link without the non-English links.[a]
This template should not be used in hatnotes, as red links should not be present in hatnotes.
Please be aware Cewbot removes this template when it detects the target article has been created on English Wikipedia, converting {{ill}} links to regular (blue) links.[a]
Usage
editThere are several ways of using this template. It can produce links to one or more specific languages, Magnus Manske's Reasonator, or to the Wikidata table of languages. A full list of language codes can be found at List of Wikipedias#Detailed list.
The shortcut {{ill}} will be used throughout this documentation.
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.
Where there are multiple interlanguage links readers may be confused about their purpose. The template {{interlanguage link info}} may be placed at the head of a page or section.
Parameters
editThe general format of this template is {{ill|page name|language code 1|page name 1 (if different)|language code 2|page name2 (if different)|...}}
If the page name on the non-English Wikipedia is the same as on the English Wikipedia, then those parameters can be left blank.
{{ill|Hanning Schröder|de}}
→ Hanning Schröder{{ill|casa|es|it|ro}}
→ casa
As mentioned above, casa shows up as a bluelink because it is a redirect.
If the page name on the non-English Wikipedia is not the same as on the English Wikipedia, then the foreign-language names will need to be included.
{{ill|Hooglede town hall|nl|Gemeentehuis van Hooglede}}
→ Hooglede town hall{{ill|Olena Chaplynska|uk|Олена Чаплинська|ru|Чаплинская, Гелена|ja|モトローナ・チャプリーンシカ}}
→ Olena Chaplynska{{ill|casa|es|it|ro|de|Haus}}
→ casa
Note that in our casa example, we have added an extra set of parameters to link to the de-Wiki (German) page "Haus".
Modifying the display
editPiping links
editWhen there are two subjects with the same name, disambiguation is necessary to distinguish them. In such cases a piped link will be necessary so that the disambiguation (usually text in parentheses) is not shown. The |text=
(formerly |lt=
, for "link text") parameter can be used to do this, for example to hide the "(botanist)" in Charles Darwin (botanist):
{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin|es|Charles Darwin|text=Charles Darwin}}
→ Charles Darwin (botanist)
Do not use {{!}} to create piped links: {{ill|Maze (band){{!}}Mazy|...}}
is not equivalent to {{ill|Maze (band)|text=Mazy|...}}
. The former will not cause the foreign language links to disappear when the English article exists.
Italics
editIf the linked material should be in italics (e.g., it is a major work such as a film title), use |italic=yes
to generate italic markup around the link but not around the square-bracketed inter-language links.
{{ill|Un papillon sur l'épaule|fr|italic=yes}}
→ Un papillon sur l'épaule
Quotation marks
editIf the linked material should have quotation marks around it (e.g., it is a minor work such as a song title), use |quote=yes
to generate them around the link but not around the square-bracketed inter-language links, and not themselves part of the link.
{{ill|Maman ne le sait pas|fr|quote=yes}}
→ "Maman ne le sait pas"
Note that both |italic=yes
and |quote=yes
can be used in the same template call, resulting in an italicised link that is also in quotes.
Removing bold formatting
editThis template might be used in places where the text is bolded, for example in the title line of a table. In these circumstances, the inter-language links can be un-bolded by using |nobold=
'''{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin}}'''
→ Charles Darwin (botanist)'''{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin|nobold=y}}'''
→ Charles Darwin (botanist)
Vertical alignment and font size
editThe vertical alignment of the interlanguage links can be altered by adding |vertical-align=
, setting it equal to sup
for superscript or sub
for subscript. Note that this parameter has two alias, |valign=
and |v=
.
{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin|vertical-align=sup}}
→ Charles Darwin (botanist) [fr; de]{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin}}
→ Charles Darwin (botanist){{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin|vertical-align=sub}}
→ Charles Darwin (botanist) [fr; de]
If {{ill}} is being used in an infobox or another location where the font size is already decreased, set |vertical-align=infobox
in order to prevent the text size from dropping below the minimum recommended size, per MOS:SMALLTEXT.
{{ill|Charles Darwin (botanist)|fr|Charles Darwin|de|Charles Darwin|vertical-align=ib}}
→ Charles Darwin (botanist)
Reasonator and Wikidata
editOn non-articles such as talk pages and WikiProject pages, links to Magnus Manske's Reasonator or to the Wikidata table of languages may be useful in order to discuss redlinked pages that exist on other language Wikipedias. They follow the same general syntax for language wikis, but use the parameters |reasonator=
or |wd=
, respectively.
{{ill|Jokery|wd=Q131138}}
→ Jokery{{ill|Jokery|wd=Q131138|reasonator=1}}
→ Jokery{{ill|Jokery|reasonator=1}}
→ Jokery
Forcing links
editTo display the interlanguage link(s) even if the English Wikipedia article exists, set |preserve=y
; this parameter has an alias |display=
.
{{ill|Joke|fr|Blague|hu|Vicc|de|Witz}}
→ Joke{{ill|Joke|fr|Blague|hu|Vicc|de|Witz|preserve=y}}
→ Joke
This feature should not be used in articles under most circumstances. However, in pages that are primarily lists of pages that link to the same language, it might be desirable that all links on a page should link to other languages whether or not an English page exists. This feature can also be used as a work-around to eliminate expensive parser function calls.
Automatic removal
editIf 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 in most cases intended to save on the computational load, it does mean users will not again be directed to the foreign-language article if the article gets deleted at a later stage as that information is lost with the removal of the template. The link will become a red link. In same cases, it may also be desirable to keep the inter-wiki links until the English article contains all the information available in the other Wikipedia language entities. Use |preserve=
or |display=
to prevent automatic removal.[a]
More examples
edit{{ill|TC Matic|af||nl||fr||es|}}
gives TC Matic, because TC Matic exists here{{ill|TC Matic (band)|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}}
gives TC Matic (band) , because TC Matic (band) does not exist here{{ill|TC Matic (band)|af||nl||fr||es|}}
gives TC Matic (band) – although shown in blue the interwiki links won't work because they default to the title "TC Matic (band)" which is wrong{{ill|TC Matic (band)|text=TC Matic|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}}
gives TC Matic (band) – the text "TC Matic" now redlinks to "TC Matic (band)"{{ill|TC Matic|text=TC Matic (band)|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}}
gives TC Matic – the text "TC Matic (band)" now links to "TC Matic" which exists
TemplateData
edit<trimmed, still in main /doc>
Tracking categories
edit- Category:Interlanguage link template existing link (4,054)
- Category:Interlanguage link template forcing interwiki links (910)
Redirects
editThe main shortcut for this template is {{ill}}.
After a merge discussion, five other templates were merged into this template, and thus this template contains all of their features; these redirects can still be used if desired.
{{Interlanguage link forced}}
{{Interlanguage link multi}}
{{Interlanguage link Wikidata}}
{{Link-interwiki}}
{{Red Wikidata link}}
See also
edit- Help:Interlanguage links#Inline links (links in the text of the article) for general inline linking to other language Wikipedias
- {{Wikidata fallback link}} which provides some functionality similar to
|wd=
in this template - {{Further ill}}, a mashup of {{Further}} and {{ill}} for section header links
- {{lang}}
- Wikipedia:Database reports/Interlanguage link templates need to fix
Notes
edit- ^ a b c Use
|preserve=
or its alias|display=
to show the language links even if the English Wikipedia page exists. Using either parameter also eliminates the expensive parser function call. Cewbot will NOT convert this template into a regular link if either parameter is set. Cewbot will also not convert this template into a regular link if the English Wikipedia page exists but is a redirect back to the same page where the template appears.