模板:Infobox person/Wikidata/doc
本文檔係模板:Infobox person/Wikidata嘅Wikipedia:模板文檔子頁面 (見頁自身)。 本頁包含用法信息、分類撈其他非原頁面嘅內容。 |
Sṳ́-yung Lua chhàng-sit: |
- 媒體說明 (P2096) (see uses)
- 作品列表 (P1455) (see uses)
- 出生姓名 (P1477) (see uses)
- 出生日期 (P569) (see uses)
- 死亡日期 (P570) (see uses)
- 官方網站 (P856) (see uses)
- 官方部落格 (P1581) (see uses)
- 兄弟姊妹 (P3373) (see uses)
- 主要作品 (P800) (see uses)
- 就讀學校 (P69) (see uses)
- 嬰兒洗禮日期 (P1636) (see uses)
- 就讀學校 (P69) (see uses)
- 所獲獎項 (P166) (see uses)
When adding an infobox using data from Wikidata, please check for consistency with the article and its references, and to address the inconsistencies observed, which can be done by amending the article or the Wikidata entry, or by supplying a better value to the infobox as a local parameter if this is what emerges from the sources. |
This version of {{Infobox person}} retrieves various parameter values from Wikidata if enabled ("opt-in"), but only in the absence of a locally supplied value and if a non-Wikipedia source is provided. The template calls Module:Wikidata and Module:WikidataIB.
It allows editors at the article level to blacklist various fields so that they do not display. This makes a positive statement that those fields are unsuitable for inclusion in that article's infobox.
Usage
phiên-siáBasic
phiên-siáInfobox person/Wikidata/doc | |
---|---|
Chhut-se-ngit | 1884-ngièn 6-ngie̍t 30-ngit |
Chhut-se-thi | Pâ-lì |
Ko-sṳ̂n-ngit | 1966-ngièn 4-ngie̍t 13-ngit (81-se) |
Ko-sṳ̂n-thi | 瓦爾蒙杜瓦 |
Koet-sit | Fap-koet |
Mû-ngî | Fap-ngî |
voi kóng | Fap-ngî |
Mû-káu | 布豐中學 |
Chṳt-ngia̍p | 作家, 詩人, 小說家, Yî-sên, short story writer |
ku-chú | 法國文化協會 |
chok-phín | Civilization: 1914-1917, Chronicle of Pasquier |
Pû-ngiòng | 布朗什·阿爾巴納 |
Chṳ́-ńg | 安托萬·迪阿梅爾, 貝爾納·迪阿梅爾, 讓·迪阿梅爾 |
Â-pâ | Pierre-Émile Duhamel |
Infobox person/Wikidata/doc | |
---|---|
Chhut-se-ngit | 1828-ngièn 8-ngie̍t 28-ngit |
Chhut-se-thi | 亞斯納亞-博利爾納 |
Ko-sṳ̂n-ngit | 1910-ngièn 11-ngie̍t 7-ngit (82-se) |
Ko-sṳ̂n-thi | 阿斯塔波沃 |
Ko-sṳ̂n ngièn-yîn | 肺炎 |
Koet-sit | 俄羅斯帝國, Ngò-lò-sṳ̂ |
Mû-ngî | Ngò-lò-sṳ̂-ngî |
voi kóng | Ngò-lò-sṳ̂-ngî |
chûng-kau | 正教, 托爾斯泰運動, Kî-tuk-kau |
Mû-káu | 帝國喀山大學 |
Chṳt-ngia̍p | 作家, 劇作家, 哲學家, 小說家, 教育學家, 散文家, 兒童文學作家, 日記作者, 散文家, 輿論記者, 世界語者, 和平主義者, 詩人, short story writer |
Fûng-kak | 短篇小說, 短篇小說, 戲劇 |
ku-chú | 彼得堡科學院 |
chok-phín | 戰爭與和平, 安娜·卡列尼娜, A Confession, 天國在你們心中, 什麼是藝術?, Boyhood, Childhood, 哈吉•穆拉特, 克萊采奏鳴曲, 復活, The Snowstorm, 哪裡有愛,哪裡就有上帝, Youth, Father Sergius, Sebastopol Sketches, The Fruits of Enlightenment, What is my faith, The Devil |
Pû-ngiòng | 索菲亞·別爾斯 |
Chṳ́-ńg | Sergey Tolstoy, Tatyana Sukhotina-Tolstaya, Ilya Tolstoy, Lev Lvovich Tolstoy, Maria L'vovna Tolstaya, Andrey Tolstoy, Mikhail Tolstoy, 亞歷山德拉·托爾斯泰婭 |
Kâ-chhu̍k | 托爾斯泰家族 |
Â-pâ | 尼古拉·伊里奇·托爾斯泰 |
Â-mê | 瑪莉亞·托爾斯泰婭 |
Hiûng-thi chí-moi | Mariya Tolstaya, Nikolay Tolstoy |
Just use:
{{infobox person/Wikidata | fetchwikidata=ALL}}
and you should get a Wikidata-filled infobox! (Providing the article is linked to a Wikidata entry containing relevant information!). This will by default only fetch information that is sourced on Wikidata. This is an important safeguard for BLPs. The subject's current age (or age at death) will be calculated automatically provided that the dates are sourced and full (i.e. 12 January 1958 not 1958).
General example
phiên-siá{{infobox person/Wikidata | suppressfields=occupation children | dateformat = dmy | noicon=on ... }}
This will prevent the infobox from displaying the fields for occupation or children. |noicon=on
will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom (see Tolstoy, right).
Specific example
phiên-siáInfobox person/Wikidata/doc | |
---|---|
Chhut-se-thi | 波恩 |
Ko-sṳ̂n-ngit | 1827-ngièn 3-ngie̍t 26-ngit |
Ko-sṳ̂n-thi | Wien |
Ko-sṳ̂n ngièn-yîn | 肝硬化 |
Koet-sit | 科隆選侯國, 奧地利帝國 |
Mû-ngî | Tet-ngî |
voi kóng | Tet-ngî |
chûng-kau | 天主教 |
Chṳt-ngia̍p | 作曲家 |
chok-phín | 致愛麗絲, 第9號交響曲, 第14鋼琴奏鳴曲, 莊嚴彌撒, 第8鋼琴奏鳴曲, 第5號交響曲, 第6號交響曲 (貝多芬), 第21首鋼琴奏鳴曲 (貝多芬), 第23鋼琴奏鳴曲, 第9小提琴奏鳴曲, 第3號交響曲, 費德里奧 |
Â-pâ | 約翰·範·貝多芬 |
Â-mê | Maria Magdalena van Beethoven |
Hiûng-thi chí-moi | 卡斯帕・安東・卡爾・范・貝多芬, Nicolaus Johann van Beethoven |
{{infobox person/Wikidata | suppressfields=birth_date | fetchwikidata=ALL | dateformat = dmy }}
This fetches information on place of birth, baptism, death, citizenship, etc. - but not date of birth as that is not known.
Parameters
phiên-siáParameter | Effect |
---|---|
fetchwikidata | allows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none |
suppressfields | allows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none |
onlysourced | rejects Wikidata that is unsourced or only imported from a Wikipedia; values: yes/true/1 or no/false/0; defaults to yes |
Parameter | Wikidata property |
---|---|
honorific_prefix | |
name | |
honorific_suffix | |
image | 圖片 (P18) |
image_upright | |
image_size | |
alt | |
caption | 媒體說明 (P2096) |
native_name | |
native_name_lang | |
pronunciation | |
birth_name | 出生姓名 (P1477) |
birth_date | 出生日期 (P569) (can use qualifier 資料出處狀態 (P1480) -> 約莫 (Q5727902) if needed) |
birth_place | 出生地 (P19) |
baptised | 嬰兒洗禮日期 (P1636) |
disappeared_date | |
disappeared_place | |
disappeared_status | |
death_date | 死亡日期 (P570) (can use qualifier 資料出處狀態 (P1480) -> 約莫 (Q5727902) if needed) |
death_place | 死亡地 (P20) |
death_cause | |
body_discovered | |
resting_place | 墓地 (P119) |
resting_place_coordinates | |
burial_place | |
burial_coordinates | |
monuments | |
residence | |
nationality | 國籍 (P27) |
other_names | |
citizenship | 國籍 (P27) |
education | 學位 (P512) |
alma_mater | 就讀學校 (P69) |
occupation | 職業 (P106) |
years_active | |
era | |
employer | 僱主 (P108) |
organization | |
agent | |
known_for | |
notable_works | 主要作品 (P800) |
style | 類型 (P136) |
home_town | |
salary | |
net_worth | |
height | |
weight | |
television | |
title | |
term | |
predecessor | |
successor | |
party | 黨籍 (P102) |
movement | |
opponents | |
boards | |
criminal_charge | |
criminal_penalty | |
criminal_status | |
spouse | 配偶 (P26) |
partner | |
children | 子女 (P40) |
parents | |
mother | |
father | |
relatives | |
family | 兄弟姊妹 (P3373) |
callsign | |
awards | 所獲獎項 (P166) |
website | 官方網站 (P856) |
module | |
module2 | |
module3 | |
module4 | |
module5 | |
module6 | |
signature | 簽名 (P109) |
signature_size | |
signature_alt | |
footnotes |
See also
phiên-siá- {{Infobox person}}