Template:Further interlanguage link/doc
This is a documentation subpage for Template:Further interlanguage link. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to link to articles containing further information on a topic, where English Wikipedia does not yet have an article, but another language Wikipedia does. It looks like this:
- Further information (in German): Geiseltal fossil bed [de]
It is typically used at the top of a section, when the topic of that section is covered in more detail by a page on another Wikipedia. It combines the features of {{Further}} and {{Interlanguage link}}, and provides one of the chief advantages of red links by pointing out a topic where English Wikipedia doesn't yet have an article, while pointing out where such information is readily available.
Once the article on English Wikipedia is created, the interwiki links are dropped, and the template renders like a regular "Further" link. If the main link is blue because the English page name is a redirect and not an article, the interwiki links are retained, and the blue link is tagged as a redirect.
Usage
[kulemba source]Basic usage – one interwiki link
- {{Further interlanguage link|Ocean swell fairies|fr|Fée des houles}} → Further information (in French): Ocean swell fairies [fr]
- More than one interwiki link
- {{Further interlanguage link|Geiseltal fossil bed|de|Fossillagerstätte Geiseltal|fr|Gisement de fossiles du Geiseltal|es|Yacimiento de Geiseltal}} →
- Same name in English as in other languages
- {{Further interlanguage link|Margarita Cueto|ca|es|pt}} →
Parameters
[kulemba source]This template accepts the following parameters:
- Positional
1
– the page on English Wikipedia. This must be a red link, or a redirect with possibilities. (If it isn't, use {{Further}} instead.) Required.2
and3
- the language code and page to link to on a sister Wikipedia. Required. Links to sections are automatically formatted as page § section, rather than the MediaWiki default of page#section.4
and5
- another lang-code and page to link to on a foreign wikipedia. Optional. If 5 is missing, {{Interlanguage link}} supplies the same value as the English topic in param 1.6
and7
- a third code + page pair, to link a foreign Wikipedia article. Optional. If 7 is missing, it takes the value from param 1.
- Named
lt
– as for {{Interlanguage link}}, the|lt=
parameter (which stands for "link text") is used to create a piped link. Alias:|label=
.topic
- like {{Further}}, adds "...on Topic" to the output text.
Modifying the display
[kulemba source]Displaying different text
[kulemba source]To create a piped link (text displayed that is different from the title of the page to which the text links), use the |lt=
parameter (which stands for "link text").
Vertical alignment
[kulemba source]The default vertical alignment of the bracketed interlanguage links is superscript. This can be altered by adding:
vertical-align=sub
to place the links in subscriptvertical-align=base
to place the links on the baseline. Alias:vertical-align=none
Examples
[kulemba source]- Blue link for redirect
- {{Further interlanguage link|Tropical Storm Zia|ja|平成11年台風第16号|zh|热带风暴思雅}}}} →
- Excess links don't throw an error but are ignored
- {{Further interlanguage link|Luigi Madonis|ca|de|fi|it|kk|...}} →
- With a topic
- {{Further interlanguage link|topic=storms in Japan|Tropical Storm Zia|ja|平成11年台風第16号}} → Further information on Storms in Japan (in Japanese): Tropical Storm Zia [ja]
- All parameters
- {{Further interlanguage link|topic=Some Topic|ArticleName|es|Página1#Sección uno|de|Seite2|ru|страница3|lt=Anchor-link}} →
- Display variation
- Vertical alignment:
- {{Further interlanguage link|Luigi Madonis|de|it|ru|Мадонис, Луиджи|vertical-align=baseline}} → Further information (in German and other languages): Luigi Madonis
- Article already exists in English – interwiki links suppressed
- {{Further interlanguage link|The Hague|nl|Den Haag|fr|La Haie|es|La Haya}} →
Errors
[kulemba source]If a required param is missing, the template will output a message. For example:
- {{Further interlanguage link|Luigi Madonis}} → Error: no interlanguage code specified. (help).Further information (in Tumbuka): Luigi Madonis []
Pages that contain this error message are tracked in Category:Pages with errors in Template:Further ill.
When not to use this template
[kulemba source]If you only wish to link to an article on a foreign language Wikipedia, without indicating a missing article on English Wikipedia, use {{Further}} instead, prefixing the page name in a foreign Wikipedia with the required interlanguage code:
- {{Further|fr:Face nord de l'Eiger|ca:Cara nord de l'Eiger|de:Eiger-Nordwand}} →
- {{Further|de:Eero Heinonen|es:Eero Heinonen|fi:Eero Heinonen}} →
See also
[kulemba source]- {{Further}}
- {{Interlanguage link}}
- {{Further-text}}
- {{Excerpt}}, which allows transclusion of text (such as an intro section) from one article into another
- {{Broader}}
- {{Main}}
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Further interlanguage link Template used to link to pages on another Wikipedia containing further information on a topic. Produces the output "Further information: page 1, page 2 and page 3".
|