Template:Interwiki extra: Difference between revisions
m (1 revision imported) |
m (1 revision imported from alpha:Template:Interwiki_extra) |
(No difference)
|
Latest revision as of 09:22, 3 May 2023
Lua error in Module:Interwiki_extra at line 88: attempt to index local 'entity' (a nil value).
This template uses Lua: |
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 number is in Wikidata connected to Script error: The module returned a nil value. It is supposed to return an export table. (Q47577). The redirect Fibonacci Sequence goes to the same article, but Script error: The module returned a nil value. It is supposed to return an export table. (Q23835349) cannot connect there. Other languages has chosen the other way around, such as es:Sucesión de Fibonacci. 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=Q23835349}}
This automatically adds sitelinks to the article, from d:Q23835349 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
Mandatory - The <Wikidata item Q-number>
Associated category
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Interwiki extra
Get ''extra'' interwiki links from a specified Wikidata object, to complement existing links for the including article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
qid | qid | Wikidata item Q-number
| Unknown | required |