Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Basic  





1.2  Fetching un-sourced info  





1.3  Using custom values  







2 Parameters  





3 Tracker  














Template:Infobox deity/Wikidata






Basa Bali
فارسی

Bahasa Indonesia


اردو
 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:Infobox deity

  • place of death (P20) (see uses)
  • father (P22) (see uses)
  • mother (P25) (see uses)
  • spouse (P26) (see uses)
  • educated at (P69) (see uses)
  • armament (P520) (see uses)
  • date of birth (P569) (see uses)
  • date of death (P570) (see uses)
  • present in work (P1441) (see uses)
  • sibling (P3373) (see uses)
  • 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[edit]

    Basic[edit]

    Rama
    TextsRamayana Edit this on Wikidata
    Personal information
    Born
    Died
    Parents
  • Kausalya Edit this on Wikidata (mother)
  • SiblingsLakshmana, Bharata, Shatrughna, Shanta Edit this on Wikidata
    SpouseSita 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]

    Rama
    Weaponbow and arrow Edit this on Wikidata
    TextsRamayana, Ramcharitmanas Edit this on Wikidata
    FestivalsRama Navami, Vivaha Panchami, Diwali, Vijayadashami, war between Rama and Ravana Edit this on Wikidata
    Personal information
    BornUnknown Edit this on Wikidata
    DiedUnknown Edit this on Wikidata
    Parents
  • Kausalya Edit this on Wikidata (mother)
  • SiblingsLakshmana, Bharata, Shatrughna, Shanta Edit this on Wikidata
    SpouseSita Edit this on Wikidata
    ChildrenKusha, Lava Edit this on Wikidata
    DynastySolar dynasty 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[edit]

    In addition to above, you can also add custom values, or use custom values instead of wikidata values.

    Rama
    AffiliationAvatar of Vishnu
    TextsRamayana Edit this on Wikidata
    Personal information
    Born
    Died
    Parents
  • Kausalya Edit this on Wikidata (mother)
  • SiblingsLakshmana, Bharata, Shatrughna, Shanta Edit this on Wikidata
    SpouseSita Edit this on Wikidata
    {{Infobox deity/Wikidata
     | fetchwikidata=ALL
     | affiliation = Avatar of Vishnu
    }}
    

    Parameters[edit]

    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 image (P18)
    alt
    caption media legend (P2096)
    birth_name
    birth_date date of birth (P569)
    birth_place place of birth (P19)
    death_date date of death (P570)
    death_place place of death (P20)
    death_cause
    resting_place
    resting_place_coordinates
    burial_place
    burial_coordinates
    monuments
    other_names
    education educated at (P69)
    era
    height
    spouse spouse (P26)
    partner
    children child (P40)
    parents
    mother
    father

    Tracker[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox_deity/Wikidata&oldid=980857395"

    Categories: 
    Lua-based templates
    Templates using data from Wikidata
    People and person infobox templates
    Infobox templates using Wikidata
    Hidden categories: 
    Pages using infobox deity without type param
    Pages using wikidata infoboxes with additional parameters
    Wikidata testcases for infobox deity
     



    This page was last edited on 28 September 2020, at 21:28 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki