الگو:Infobox deity/Wikidata/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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 پودمان:Wikidata and پودمان: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[ویرایش]

راما
متونرامایانا ویرایش این در ویکی‌داده
اطلاعات شخصی
تولدناشناخته ویرایش این در ویکی‌داده
درگذشتناشناخته ویرایش این در ویکی‌داده
Sarayu ویرایش این در ویکی‌داده
والدین
  • Dasharatha ویرایش این در ویکی‌داده (پدر)
  • Kausalya ویرایش این در ویکی‌داده (مادر)
خواهر و برادرلاکشمانا، Bharata، Shatrughna، Shanta ویرایش این در ویکی‌داده
شریک زندگیسیتا ویرایش این در ویکی‌داده

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[ویرایش]

راما
سلاحتیر و کمان ویرایش این در ویکی‌داده
متونرامایانا، رام‌چریت‌مانس ویرایش این در ویکی‌داده
جشنواره‌هاRama Navami، Vivaha Panchami، دیوالی، Vijayadashami، war between Rama and Ravana ویرایش این در ویکی‌داده
اطلاعات شخصی
تولدناشناخته ویرایش این در ویکی‌داده
درگذشتناشناخته ویرایش این در ویکی‌داده
Sarayu ویرایش این در ویکی‌داده
والدین
  • Dasharatha ویرایش این در ویکی‌داده (پدر)
  • Kausalya ویرایش این در ویکی‌داده (مادر)
خواهر و برادرلاکشمانا، Bharata، Shatrughna، Shanta ویرایش این در ویکی‌داده
شریک زندگیسیتا ویرایش این در ویکی‌داده
فرزندانKusha، Lava ویرایش این در ویکی‌داده
دودمانIkshvaku dynasty ویرایش این در ویکی‌داده

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
متونرامایانا ویرایش این در ویکی‌داده
اطلاعات شخصی
تولدناشناخته ویرایش این در ویکی‌داده
درگذشتناشناخته ویرایش این در ویکی‌داده
Sarayu ویرایش این در ویکی‌داده
والدین
  • Dasharatha ویرایش این در ویکی‌داده (پدر)
  • Kausalya ویرایش این در ویکی‌داده (مادر)
خواهر و برادرلاکشمانا، Bharata، Shatrughna، Shanta ویرایش این در ویکی‌داده
شریک زندگیسیتا ویرایش این در ویکی‌داده
{{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[ویرایش]

الگو:Religious infoboxes