模板:Further interlanguage link/doc

来自决策链云智库
< 模板:Further interlanguage link
Zeroclanzhang讨论 | 贡献2024年1月21日 (日) 21:09的版本 (创建页面,内容为“{{Documentation subpage}} 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 interlanguage link|Geiseltal fossil bed|de|Fossillagerstätte Geiseltal}} 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 List of Wik…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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:

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

Basic usage – one interwiki link

{{Further interlanguage link|<Ocean swell fairies>|<fr>|<Fée des houles>}}
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
{{ill|Further interlanguage link|Margarita Cueto|ca||es||pt}}

Parameters

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 and 3 - 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 and 5 - 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 and 7 - 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

Displaying different text

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

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 subscript
  • vertical-align=base to place the links on the baseline. Alias: vertical-align=none

Examples

Blue link for redirect
{{Further interlanguage link|<Tropical Storm Zia>|<ja>|<平成11年台風第16号>|<zh>|<热带风暴思雅>}}}} →
Excess links (beyond three) don't throw an error but are ignored
{{Further interlanguage link|<Luigi Madonis>|<ca>|<>|<de>|<>|<fi>|<>|<it>|<>|<kk>|<Луиджи Мадонис>|<ru>|<Мадонис, Луиджи>}}
With a topic
{{Further interlanguage link|<topic=storms in Japan>|<Tropical Storm Zia>|<ja>|<平成11年台風第16号>}}
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>}}
Article already exists in English – interwiki links suppressed
{{Further interlanguage link|<The Hague>|<nl>|<Den Haag>|<fr>|<La Haie>|<es>|<La Haya>}}

Errors

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

Pages that contain this error message are tracked in Category:Pages with errors in Template:Further ill.

When not to use this template

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

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Further interlanguage link in articles based on its 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".

模板参数

参数描述类型状态
Article name1

Suggested name of the English Wikipedia page which does not yet exist.

页面名称必需
1st language code2

Language code of the first page in another language.

示例值
es
页面名称必需
1st page3

The name of the first page that you want to link to.

示例值
Museo del Prado
页面名称可选
2nd language code4

Language code of the second page that you want to link to.

示例值
fr
页面名称可选
2nd page5

The name of the second page that you want to link to.

示例值
Le Louvre
页面名称可选
3rd language code6

Language code of the third page that you want to link to.

示例值
de
页面名称可选
3rd page7

The name of the third page that you want to link to.

页面名称可选
Topictopic

The topic to list in the link.

字符串可选
Link textlink textlabellabel1l1

The displayed label of the page link, as in a piped link

字符串可选