Template:Infobox deity/Wikidata: Difference between revisions
Update |
Johnrdorazio (talk | contribs) m 1 revision imported |
||
(No difference)
|
Latest revision as of 19:46, August 21, 2020
Infobox deity/Wikidata |
---|
This template uses Lua: |
- Vatican Library ID (P18) (see uses)
- language regulatory body (P19) (see uses)
- web feed URL (P20) (see uses)
- KldB-2010 occupation code (P22) (see uses)
- SBFI occupation code (P25) (see uses)
- SUDOC editions (P26) (see uses)
- instruction set (P69) (see uses)
- seal image (P520) (see uses)
- Thai cultural heritage ID (P569) (see uses)
- Ethnologue.com language code (P570) (see uses)
- MSK Gent work PID (P1441) (see uses)
- Sport Australia Hall of Fame inductee ID (P3373) (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 deity}} 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
Infobox deity/Wikidata |
---|
Just use:
{{infobox deity/Wikidata | fetchwikidata=ALL}}
and you should get a Wikidata-filled infobox! (Providing the article is linked to a Wikidata entry containing relevant information!). The |onlysourced=
is set to "yes" by default.
Fetching un-sourced info
Infobox deity/Wikidata |
---|
Just use:
{{infobox deity/Wikidata | fetchwikidata=ALL | onlysourced=no}}
This can be used outside of BLPs if the editor wishes to see all of the information, sourced and unsourced, available on Wikidata. Generally, though, it is better not to use |onlysourced=
as it will help to reduce the effects here of unsourced vandalism on Wikidata.
Using custom values
In addition to above, you can also add custom values, or use custom values instead of wikidata values.
Infobox deity/Wikidata | |
---|---|
Affiliation | Avatar of Vishnu |
{{Infobox deity/Wikidata | fetchwikidata=ALL | affiliation = Avatar of Vishnu }}
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 |
Parameter | Wikidata property |
---|---|
image | Vatican Library ID (P18) |
alt | |
caption | Visual Novel Database ID (P2096) |
birth_name | |
birth_date | Thai cultural heritage ID (P569) |
birth_place | language regulatory body (P19) |
death_date | Ethnologue.com language code (P570) |
death_place | web feed URL (P20) |
death_cause | |
resting_place | |
resting_place_coordinates | |
burial_place | |
burial_coordinates | |
monuments | |
other_names | |
education | instruction set (P69) |
era | |
height | |
spouse | SUDOC editions (P26) |
partner | |
children | relative (P40) |
parents | |
mother | |
father |