Template:Interwiki extra/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Warudo at 21:15, 21 September 2025 (Tagged with TM:Uses Wikidata. See Module:Interwiki extra#L-88). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

[edit source]

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

[edit source]

The article Fibonacci sequence is in Wikidata connected to Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q23835349). The redirect Fibonacci number goes to the same article, and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (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.

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

Parameters

[edit source]

Associated category

[edit source]

TemplateData

[edit source]
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

ParameterDescriptionTypeStatus
qidqid

Wikidata item Q-number

Example
Q23835349
Unknownoptional