https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Infobox_person/Wikidata/doc&feed=atom&action=history
Template:Infobox person/Wikidata/doc - Revision history
2024-03-29T00:26:56Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Infobox_person/Wikidata/doc&diff=1466&oldid=prev
Johnrdorazio: 1 revision imported
2020-08-21T19:49:13Z
<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:49, August 21, 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Johnrdorazio
https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Infobox_person/Wikidata/doc&diff=1465&oldid=prev
en>Nikkimaria: Reverted to revision 952448540 by Materialscientist (talk): Misplaced (TW)
2020-04-22T11:47:36Z
<p>Reverted to revision 952448540 by <a href="/wiki/Special:Contributions/Materialscientist" title="Special:Contributions/Materialscientist">Materialscientist</a> (<a href="/w/index.php?title=User_talk:Materialscientist&action=edit&redlink=1" class="new" title="User talk:Materialscientist (page does not exist)">talk</a>): Misplaced (<a href="/w/index.php?title=Semina_Verbi:TW&action=edit&redlink=1" class="new" title="Semina Verbi:TW (page does not exist)">TW</a>)</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --><br />
{{Person infobox header}}<br />
{{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.}}<br />
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB|Module:Check for unknown parameters}}<br />
{{Uses Wikidata|P18|P119|P136|P2096|P1455|P1477|P569|P19|P570|P109|P856|P1581|P3373|P800|P69|P1636|P20|P69|P106|P108|P26|P22|P25|P166|P410|P241|P97}}<br />
<br />
This version of {{tl|Infobox person}} retrieves various parameter values from Wikidata if enabled ("opt-in"). This will by default '''only fetch information that is sourced on Wikidata to a non-Wikipedia source''', and only if a local value is not provided. The template calls [[Module:Wikidata]] and [[Module:WikidataIB]].<br />
<br />
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.<br />
<br />
== Usage ==<br />
=== Basic ===<br />
{{Infobox person/Wikidata<br />
| qid=Q20733<br />
| name=Georges Duhamel<br />
| fetchwikidata=ALL<br />
}}<br />
{{Infobox person/Wikidata<br />
| qid=Q7243<br />
| name=Leo Tolstoy<br />
| fetchwikidata=ALL<br />
|noicon=on<br />
}}<br />
Just use:<br />
<pre><br />
{{Infobox person/Wikidata | fetchwikidata=ALL}}<br />
</pre><br />
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).<br />
<br />
=== General example ===<br />
<pre><br />
{{Infobox person/Wikidata<br />
| suppressfields=occupation children<br />
| dateformat = dmy<br />
| noicon=on<br />
...<br />
}}<br />
</pre><br />
This will prevent the infobox from displaying the fields for occupation or children. {{para|noicon|on}} will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom (see Tolstoy, right).<br />
<br />
=== Specific example ===<br />
{{Infobox person/Wikidata<br />
| qid=Q255<br />
| name=Ludwig van Beethoven<br />
| suppressfields=birth_date<br />
| fetchwikidata=ALL<br />
| dateformat = dmy<br />
}}<br />
In {{Q|Q255}}<br />
<pre><br />
{{Infobox person/Wikidata<br />
| suppressfields=birth_date<br />
| fetchwikidata=ALL<br />
| dateformat = dmy<br />
}}<br />
</pre><br />
<br />
This fetches information on place of birth, baptism, death, citizenship, etc. - but not date of birth as that is not known.<br />
<br />
== Parameters ==<br />
{| class="wikitable"<br />
|+ Wikidata-specific parameters<br />
! scope= column | Parameter<br />
! scope= column | Effect<br />
|-<br />
| fetchwikidata || allows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none<br />
|-<br />
| suppressfields || allows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none<br />
|-<br />
| onlysourced || rejects Wikidata that is unsourced or only imported from a Wikipedia; values: yes/true/1 or no/false/0; defaults to yes<br />
|}<br />
<br />
{| class="wikitable"<br />
|+ Subject-specific parameters<br />
! scope= column | Parameter<br />
! scope= column | Wikidata property<br />
|-<br />
| honorific_prefix || <br />
|-<br />
| name ||<br />
|-<br />
| honorific_suffix ||<br />
|-<br />
| image || {{Wikidata entity link|P18}}<br />
|-<br />
| image_upright ||<br />
|-<br />
| image_size ||<br />
|-<br />
| alt ||<br />
|-<br />
| caption || {{Wikidata entity link|P2096}}<br />
|-<br />
| native_name ||<br />
|-<br />
| native_name_lang ||<br />
|-<br />
| pronunciation ||<br />
|-<br />
| birth_name || {{Wikidata entity link|P1477}}<br />
|-<br />
| birth_date || {{Wikidata entity link|P569}} (can use qualifier {{Wikidata entity link|P1480}} -> {{Q|Q5727902}} if needed)<br />
|-<br />
| birth_place || {{Wikidata entity link|P19}}<br />
|-<br />
| baptised || {{Wikidata entity link|P1636}}<br />
|-<br />
| disappeared_date ||<br />
|-<br />
| disappeared_place ||<br />
|-<br />
| disappeared_status ||<br />
|-<br />
| death_date || {{wikidata entity link|P570}} (can use qualifier {{Wikidata entity link|P1480}} -> {{Q|Q5727902}} if needed)<br />
|-<br />
| death_place || {{wikidata entity link|P20}}<br />
|-<br />
| death_cause ||<br />
|-<br />
| body_discovered ||<br />
|-<br />
| resting_place || {{Wikidata entity link|P119}}<br />
|-<br />
| resting_place_coordinates ||<br />
|-<br />
| burial_place ||<br />
|-<br />
| burial_coordinates ||<br />
|-<br />
| monuments ||<br />
|-<br />
| residence ||<br />
|-<br />
| nationality || {{wikidata entity link|P27}}<br />
|-<br />
| other_names ||<br />
|-<br />
| citizenship || {{wikidata entity link|P27}}<br />
|-<br />
| education || {{Wikidata entity link|P512}}<br />
|-<br />
| alma_mater || {{wikidata entity link|P69}}<br />
|-<br />
| occupation || {{wikidata entity link|P106}}<br />
|-<br />
| years_active ||<br />
|-<br />
| era ||<br />
|-<br />
| employer || {{wikidata entity link|P108}}<br />
|-<br />
| organization ||<br />
|-<br />
| agent ||<br />
|-<br />
| known_for ||<br />
|-<br />
| notable_works || {{wikidata entity link|P800}}<br />
|-<br />
| style || {{wikidata entity link|P136}}<br />
|-<br />
| home_town ||<br />
|-<br />
| salary ||<br />
|-<br />
| net_worth ||<br />
|-<br />
| height ||<br />
|-<br />
| weight ||<br />
|-<br />
| television || <br />
|-<br />
| title ||<br />
|-<br />
| term ||<br />
|-<br />
| predecessor ||<br />
|-<br />
| successor ||<br />
|-<br />
| party || {{wikidata entity link|P102}}<br />
|-<br />
| movement ||<br />
|-<br />
| opponents ||<br />
|-<br />
| boards ||<br />
|-<br />
| criminal_charge ||<br />
|-<br />
| criminal_penalty ||<br />
|-<br />
| criminal_status ||<br />
|-<br />
| spouse || {{wikidata entity link|P26}}<br />
|-<br />
| partner ||<br />
|-<br />
| children || {{wikidata entity link|P40}}<br />
|-<br />
| parents || {{wikidata entity link|P22}}, {{wikidata entity link|P25}}<br />
|-<br />
| mother ||<br />
|-<br />
| father ||<br />
|-<br />
| relatives ||<br />
|-<br />
| family || {{wikidata entity link|P3373}}<br />
|-<br />
| callsign ||<br />
|-<br />
| awards || {{wikidata entity link|P166}}<br />
|-<br />
| website || {{wikidata entity link|P856}}<br />
|-<br />
| military_rank || {{wikidata entity link|P410}}<br />
|-<br />
| military_branch || {{wikidata entity link|P241}}<br />
|-<br />
| noble_title || {{wikidata entity link|P97}}<br />
|-<br />
| module ||<br />
|-<br />
| module2 ||<br />
|-<br />
| module3 ||<br />
|-<br />
| module4 ||<br />
|-<br />
| module5 ||<br />
|-<br />
| module6 ||<br />
|-<br />
| signature || {{wikidata entity link|P109}}<br />
|-<br />
| signature_size ||<br />
|-<br />
| signature_alt ||<br />
|-<br />
| footnotes ||<br />
|}<br />
<br />
== TemplateData ==<br />
{{TemplateData header}}<br />
<templatedata><br />
{<br />
"params": {<br />
"fetchwikidata": {}<br />
}<br />
}<br />
</templatedata><br />
== See also ==<br />
* {{tl|Infobox person}}<br />
{{Wikidata infoboxes}}<br />
<br />
<includeonly>{{sandbox other||<br />
<!-- Categories below this line, please; interwikis at Wikidata --><br />
[[Category:People and person infobox templates]]<br />
[[Category:Biographical templates usable as a module|Person/Wikidata]]<br />
[[Category:Infobox templates using Wikidata]]<br />
}}</includeonly></div>
en>Nikkimaria