跳至內容

模板:Infobox person/Wikidata/doc

對Wikipedia
Warning 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.

Infobox person/Wikidata/doc
Chók-sié

1884 nièng 6 nguŏk 30 hô̤ Edit this on Wikidata

Bă-là̤ Edit this on Wikidata
Guó-sié

1966 nièng 4 nguŏk 13 hô̤ Edit this on Wikidata (81 huói)

瓦爾蒙杜瓦 Edit this on Wikidata
guók-cĭk Huák-guók Edit this on Wikidata
Mū-ngṳ̄ Huák-ngṳ̄ Edit this on Wikidata
â̤ gōng Huák-ngṳ̄ Edit this on Wikidata
Mū-hâu 布豐中學 Edit this on Wikidata
Cék-ngiĕk cáuk-gă, 詩人, 小說家, Ĭ-sĕng, short story writer Edit this on Wikidata
Gó-ciō 法國文化協會 Edit this on Wikidata
Cáuk-pīng Civilization: 1914-1917, Chronicle of Pasquier Edit this on Wikidata
Lâu-mā 布朗什·阿爾巴納 Edit this on Wikidata
Giāng 安托萬·迪阿梅爾, 貝爾納·迪阿梅爾, 讓·迪阿梅爾 Edit this on Wikidata
Nòng-bâ Pierre-Émile Duhamel Edit this on Wikidata
Chiĕng-miàng
Infobox person/Wikidata/doc
Chók-sié

1828 nièng 8 nguŏk 28 hô̤

亞斯納亞-博利爾納 Edit this on Wikidata
Guó-sié

1910 nièng 11 nguŏk 7 hô̤ (82 huói)

阿斯塔波沃 Edit this on Wikidata
Guó-sié nguòng-ĭng 肺炎 Edit this on Wikidata
guók-cĭk 俄羅斯帝國, Ngò̤-lò̤-sṳ̆ Edit this on Wikidata
Mū-ngṳ̄ Ngò̤-lò̤-sṳ̆-ngṳ̄ Edit this on Wikidata
â̤ gōng Ngò̤-lò̤-sṳ̆-ngṳ̄ Edit this on Wikidata
cŭng-gáu 正教, 托爾斯泰運動, Gĭ-dók-gáu Edit this on Wikidata
Mū-hâu 帝國喀山大學 Edit this on Wikidata
Cék-ngiĕk cáuk-gă, 劇作家, 哲學家, 小說家, 教育學家, 散文家, 兒童文學作家, 日記作者, 散文家, 輿論記者, 世界語者, 和平主義者, 詩人, short story writer Edit this on Wikidata
Hŭng-gák 短篇小說, 短篇小說, 戲劇 Edit this on Wikidata
Gó-ciō 彼得堡科學院 Edit this on Wikidata
Cáuk-pīng 戰爭與和平, Anna Karenina, A Confession, 天國在你們心中, 什麼是藝術?, Boyhood, Childhood, 哈吉•穆拉特, 克萊采奏鳴曲, 復活, The Snowstorm, 哪裡有愛,哪裡就有上帝, Youth, Father Sergius, Sebastopol Sketches, The Fruits of Enlightenment, What is my faith, The Devil Edit this on Wikidata
Lâu-mā 索菲亞·別爾斯 Edit this on Wikidata
Giāng Sergey Tolstoy, Tatyana Sukhotina-Tolstaya, Ilya Tolstoy, Lev Lvovich Tolstoy, Maria L'vovna Tolstaya, Andrey Tolstoy, Mikhail Tolstoy, 亞歷山德拉·托爾斯泰婭 Edit this on Wikidata
Gă-cŭk 托爾斯泰家族 Edit this on Wikidata
Nòng-bâ 尼古拉·伊里奇·托爾斯泰 Edit this on Wikidata
Nòng-nā̤ 瑪莉亞·托爾斯泰婭 Edit this on Wikidata
Hiăng-diê ciā-muói Mariya Tolstaya, Nikolay Tolstoy Edit this on Wikidata
Uōng-câng https://tolstoy.ru/
Chiĕng-miàng

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

[Gāi nguòng-mā]
{{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

[Gāi nguòng-mā]
Infobox person/Wikidata/doc
Chók-sié 波恩 Edit this on Wikidata
Guó-sié

1827 nièng 3 nguŏk 26 hô̤ Edit this on Wikidata

Vienna Edit this on Wikidata
Guó-sié nguòng-ĭng 肝硬化 Edit this on Wikidata
guók-cĭk 科隆選侯國, 奧地利帝國 Edit this on Wikidata
Mū-ngṳ̄ Dáik-ngṳ̄ Edit this on Wikidata
â̤ gōng Dáik-ngṳ̄ Edit this on Wikidata
cŭng-gáu Tiĕng-ciō-gáu Edit this on Wikidata
Cék-ngiĕk 作曲家 Edit this on Wikidata
Cáuk-pīng 致愛麗絲, 第9號交響曲, 第14鋼琴奏鳴曲, 莊嚴彌撒, 第8鋼琴奏鳴曲, 第5號交響曲, 第6號交響曲 (貝多芬), 第21首鋼琴奏鳴曲 (貝多芬), 第23鋼琴奏鳴曲, 第9小提琴奏鳴曲, 第3號交響曲, 費德里奧 Edit this on Wikidata
Nòng-bâ 約翰·範·貝多芬 Edit this on Wikidata
Nòng-nā̤ Maria Magdalena van Beethoven Edit this on Wikidata
Hiăng-diê ciā-muói 卡斯帕・安東・卡爾・范・貝多芬, Nicolaus Johann van Beethoven Edit this on Wikidata
Uōng-câng https://www.beethoven.de Edit this on Wikidata
Chiĕng-miàng

In Ludwig van Beethoven (Q255)

{{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

[Gāi nguòng-mā]
Wikidata-specific parameters
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
Subject-specific parameters
Parameter Wikidata property
honorific_prefix
name
honorific_suffix
image sióng-piéng (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

模板:Wikidata infoboxes