ઢાંચો:Infobox deity/Wikidata/doc

વિકિપીડિયામાંથી

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

રામ
ગ્રંથોરામાયણ, શ્રીરામચરિતમાનસ Edit this on Wikidata
વ્યક્તિગત માહિતી
આવિર્ભાવઅજાણી કિંમત Edit this on Wikidata
દેહત્યાગઅજાણી કિંમત Edit this on Wikidata
સરયુ Edit this on Wikidata
જીવનસાથીસીતા Edit this on Wikidata
માતા-પિતા
સહોદરલક્ષ્મણ, ભરત, શત્રુઘ્ન, શાંતા Edit this on 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[ફેરફાર કરો]

રામ
શસ્ત્રધનુષ અને બાણ Edit this on Wikidata
ગ્રંથોરામાયણ, શ્રીરામચરિતમાનસ Edit this on Wikidata
ઉત્સવોરામનવમી, વિવાહ પંચમી, દિવાળી, દશેરા, રામ-રાવણનું યુદ્ધ Edit this on Wikidata
વ્યક્તિગત માહિતી
આવિર્ભાવઅજાણી કિંમત Edit this on Wikidata
દેહત્યાગઅજાણી કિંમત Edit this on Wikidata
સરયુ Edit this on Wikidata
જીવનસાથીસીતા Edit this on Wikidata
બાળકોકુશ, લવ Edit this on Wikidata
માતા-પિતા
સહોદરલક્ષ્મણ, ભરત, શત્રુઘ્ન, શાંતા Edit this on Wikidata
કુળઇક્ષ્વાકુ વંશ Edit this on 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.

રામ
જોડાણોAvatar of Vishnu
ગ્રંથોરામાયણ, શ્રીરામચરિતમાનસ Edit this on Wikidata
વ્યક્તિગત માહિતી
આવિર્ભાવઅજાણી કિંમત Edit this on Wikidata
દેહત્યાગઅજાણી કિંમત Edit this on Wikidata
સરયુ Edit this on Wikidata
જીવનસાથીસીતા Edit this on Wikidata
માતા-પિતા
સહોદરલક્ષ્મણ, ભરત, શત્રુઘ્ન, શાંતા Edit this on Wikidata
{{Infobox deity/Wikidata
 | fetchwikidata=ALL
 | affiliation = Avatar of Vishnu
}}

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
image છબી (P18)
alt
caption માધ્યમ વર્ણન (P2096)
birth_name
birth_date જન્મ તારીખ (P569)
birth_place જન્મ સ્થળ (P19)
death_date મૃત્યુ તારીખ (P570)
death_place મૃત્યુ સ્થળ (P20)
death_cause
resting_place
resting_place_coordinates
burial_place
burial_coordinates
monuments
other_names
education માતૃસંસ્થા (P69)
era
height
spouse જીવનસાથી (P26)
partner
children સંતાન (P40)
parents
mother
father

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