ઢાંચો:Infobox person/Wikidata

વિકિપીડિયામાંથી
Jump to navigation Jump to search
Infobox person/Wikidata
Template documentation[view] [edit] [history] [purge]

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. 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[ફેરફાર કરો]

Basic[ફેરફાર કરો]

Georges Duhamel
Georges Duhamel 1930.jpg
પિતાPierre-Émile Duhamel
જન્મની વિગત૩૦ જૂન ૧૮૮૪ Edit this on Wikidata
પેરિસ Edit this on Wikidata
મૃત્યુની વિગત૧૩ એપ્રિલ ૧૯૬૬ Edit this on Wikidata
Valmondois Edit this on Wikidata
જીવનસાથીBlanche Albane Edit this on Wikidata
સહી
Signature Georges Duhamel.jpg
Leo Tolstoy
Leo Tolstoy, portrait.jpg
માતાMaria Nikolaevna Volkonskaya
પિતાNikolay Tolstoy
જન્મની વિગત૯ સપ્ટેમ્બર ૧૮૨૮
Yasnaya Polyana
મૃત્યુની વિગત૨૦ નવેમ્બર ૧૯૧૦
Lev Tolstoy
વ્યવસાયલેખક, તત્વજ્ઞાની, Esperantist
કાર્યોWar and Peace, Anna Karenina, A Confession, The Kingdom of God Is Within You, What Is Art?, Boyhood, Childhood, Hadji Murat, The Kreutzer Sonata, The Snowstorm, Where Love Is, God Is
See Leo Tolstoy bibliography
બાળકોMaria L'vovna Tolstaya
વેબસાઇટhttp://tolstoy.ru/
સહી
Leo Tolstoy signature.svg

Just use:| suppressfields=birth_date

{{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[ફેરફાર કરો]

{{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[ફેરફાર કરો]

Ludwig van Beethoven
Beethovensmall.jpg
માતાMaria Magdalena van Beethoven
પિતાJohann van Beethoven
જન્મની વિગતબોન Edit this on Wikidata
દિક્ષાની વિગત૧૭ ડિસેમ્બર ૧૭૭૦ Edit this on Wikidata
મૃત્યુની વિગત૨૬ માર્ચ ૧૮૨૭ Edit this on Wikidata
વિયેના Edit this on Wikidata
વ્યવસાયસંગીત રચયિતા, Pianist, violinist edit this on wikidata
કાર્યોSee list of compositions by Ludwig van Beethoven, WoO Edit this on Wikidata
સહી
Beethoven Signature.svg

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[ફેરફાર કરો]

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 છબી (P18)
image_upright
image_size
alt
caption માધ્યમ વર્ણન (P2096)
native_name
native_name_lang
pronunciation
birth_name જન્મનામ (P1477)
parents પિતા (P22)
birth_date જન્મ તારીખ (P569) (can use qualifier sourcing circumstances (P1480) -> આશરે (Q5727902) if needed)
birth_place જન્મ સ્થળ (P19)
baptised date of baptism in early childhood (P1636)
disappeared_date
disappeared_place
disappeared_status
death_date મૃત્યુ તારીખ (P570) (can use qualifier sourcing circumstances (P1480) -> આશરે (Q5727902) if needed)
death_place મૃત્યુ સ્થળ (P20)
death_cause
body_discovered
resting_place દફન સ્થળ (P119)
resting_place_coordinates
burial_place
burial_coordinates
monuments
residence
nationality
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
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[ફેરફાર કરો]