This template uses the Wikidata properties:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
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.
Lua error in Module:Wikidata at line 446: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Wikidata at line 798: attempt to index field 'wikibase' (a nil value).
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
Lua error in Module:Wikidata at line 446: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Wikidata at line 798: attempt to index field 'wikibase' (a nil value).
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
Lua error in Module:Wikidata at line 446: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Wikidata at line 798: attempt to index field 'wikibase' (a nil value).