• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Interwiki extra

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Interwiki extra
This template uses the Wikidata property:
  • said to be the same as (P460) (see uses)

Purpose

Get extra interwiki links from a specified Wikidata object, to complement existing links for the including article.

Note: The page is normally also itself linked directly from Wikidata. Only languages that do not already have a link will display the extra link.

Example

The article Fibonacci sequence is in Wikidata connected to Fibonacci sequence (Q23835349). The redirect Fibonacci number goes to the same article, and Fibonacci number (Q47577) connects there. However, that means that the interlanguage links only appear on the redirect page itselfFibonacci number so they cannot be used for navigation by a reader. Other languages have chosen the other way around, such as simple:Fibonacci number. From Wikidata perspective they are different concepts though, and should not be merged.

The main article for each language can get extra links from the secondary concept by including the template with the other qid. E.g.

{{Interwiki extra|qid=Q47577}}

This automatically adds sitelinks to the article, from d:Q47577 when needed. Each Wikipedia variant can choose which qid to include without any interwiki conflict, but more conveniently than maintaining specific language links.

Usage

{{Interwiki extra|qid=Q<Wikidata item number>}}

Parameters

  • qid Optional - The <Wikidata item Q-number>
    • If the parameter is omitted, the template reads the said to be the same as (P460) property of the connected Wikidata item, if it exists and adds the interlanguage links of the item it finds there

Associated category

  • Tracking category for pages with additional interwiki links

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Interwiki extra in articles based on its TemplateData.

TemplateData for Interwiki extra

Get ''extra'' interwiki links from a specified Wikidata object, to complement existing links for the including article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
qidqid

Wikidata item Q-number

Example
Q23835349
Unknownoptional
The above documentation is transcluded from Template:Interwiki extra/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Interwiki_extra&oldid=1236436041"