模板:Infobox person/Wikidata/doc
茲萆文件是模板:Infobox person/Wikidata其文件子頁面 (見頁面自家)。 茲萆頁面有用法信息、分類共其它伓是原底頁面其內容。 |
Sāi-ê̤ṳng Lua tiàng-sê̤ṳ: |
Cī ciáh template sāi gáu Wikidata séng-sék:
|
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
[Gāi nguòng-mā]Basic
[Gāi nguòng-mā]Infobox person/Wikidata/doc | |
---|---|
Chók-sié | Bă-là̤ |
Guó-sié |
1966 nièng 4 nguŏk 13 hô̤ (81 huói) 瓦爾蒙杜瓦 |
guók-cĭk | Huák-guók |
Mū-ngṳ̄ | Huák-ngṳ̄ |
â̤ gōng | Huák-ngṳ̄ |
Mū-hâu | 布豐中學 |
Cék-ngiĕk | cáuk-gă, 詩人, 小說家, Ĭ-sĕng, short story writer |
Gó-ciō | 法國文化協會 |
Cáuk-pīng | Civilization: 1914-1917, Chronicle of Pasquier |
Lâu-mā | 布朗什·阿爾巴納 |
Giāng | 安托萬·迪阿梅爾, 貝爾納·迪阿梅爾, 讓·迪阿梅爾 |
Nòng-bâ | Pierre-Émile Duhamel |
Chiĕng-miàng | |
Infobox person/Wikidata/doc | |
---|---|
Chók-sié |
1828 nièng 8 nguŏk 28 hô̤ 亞斯納亞-博利爾納 |
Guó-sié |
1910 nièng 11 nguŏk 7 hô̤ (82 huói) 阿斯塔波沃 |
Guó-sié nguòng-ĭng | 肺炎 |
guók-cĭk | 俄羅斯帝國, Ngò̤-lò̤-sṳ̆ |
Mū-ngṳ̄ | Ngò̤-lò̤-sṳ̆-ngṳ̄ |
â̤ gōng | Ngò̤-lò̤-sṳ̆-ngṳ̄ |
cŭng-gáu | 正教, 托爾斯泰運動, Gĭ-dók-gáu |
Mū-hâu | 帝國喀山大學 |
Cék-ngiĕk | cáuk-gă, 劇作家, 哲學家, 小說家, 教育學家, 散文家, 兒童文學作家, 日記作者, 散文家, 輿論記者, 世界語者, 和平主義者, 詩人, short story writer |
Hŭng-gák | 短篇小說, 短篇小說, 戲劇 |
Gó-ciō | 彼得堡科學院 |
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 |
Lâu-mā | 索菲亞·別爾斯 |
Giāng | Sergey Tolstoy, Tatyana Sukhotina-Tolstaya, Ilya Tolstoy, Lev Lvovich Tolstoy, Maria L'vovna Tolstaya, Andrey Tolstoy, Mikhail Tolstoy, 亞歷山德拉·托爾斯泰婭 |
Gă-cŭk | 托爾斯泰家族 |
Nòng-bâ | 尼古拉·伊里奇·托爾斯泰 |
Nòng-nā̤ | 瑪莉亞·托爾斯泰婭 |
Hiăng-diê ciā-muói | Mariya Tolstaya, Nikolay Tolstoy |
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é | 波恩 |
Guó-sié | Vienna |
Guó-sié nguòng-ĭng | 肝硬化 |
guók-cĭk | 科隆選侯國, 奧地利帝國 |
Mū-ngṳ̄ | Dáik-ngṳ̄ |
â̤ gōng | Dáik-ngṳ̄ |
cŭng-gáu | Tiĕng-ciō-gáu |
Cék-ngiĕk | 作曲家 |
Cáuk-pīng | 致愛麗絲, 第9號交響曲, 第14鋼琴奏鳴曲, 莊嚴彌撒, 第8鋼琴奏鳴曲, 第5號交響曲, 第6號交響曲 (貝多芬), 第21首鋼琴奏鳴曲 (貝多芬), 第23鋼琴奏鳴曲, 第9小提琴奏鳴曲, 第3號交響曲, 費德里奧 |
Nòng-bâ | 約翰·範·貝多芬 |
Nòng-nā̤ | Maria Magdalena van Beethoven |
Hiăng-diê ciā-muói | 卡斯帕・安東・卡爾・范・貝多芬, Nicolaus Johann van Beethoven |
Uōng-câng | https://www.beethoven.de |
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ā]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 | 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 |
See also
[Gāi nguòng-mā]- {{Infobox person}}