模板:Interwiki extra/doc
本文檔係模板:Interwiki extra嘅Wikipedia:模板文檔子頁面 (見頁自身)。 本頁包含用法信息、分類撈其他非原頁面嘅內容。 |
Sṳ́-yung Lua chhàng-sit: |
Purpose
phiên-siá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
phiên-siáThe article Fibonacci sequence is in Wikidata connected to 費波那契數列 (Q23835349). The redirect Fibonacci number goes to the same article, but 費波那契數 (Q47577) cannot connect there. Other languages have chosen the other way around, such as lt:Fibonačio skaičius. 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
phiên-siá{{interwiki extra|qid=Q<Wikidata item number>}}
Parameters
phiên-siáqid
Mandatory - The <Wikidata item Q-number>
Associated category
phiên-siáTemplateData
phiên-siáSee the monthly error report for this template.
TemplateData for Interwiki extra
Get ''extra'' interwiki links from a specified Wikidata object, to complement existing links for the including article.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
qid | qid | Wikidata item Q-number
| 不明 | 必填 |