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

الگو:Uses infobox person/Wikidata

{{Infobox scientist/Wikidata}} may be used to summarize information about a person who is a scientist, medic, engineer, mathematician or (scientific) academic.

This template may also be used as a module (sub-template) of {{Infobox person/Wikidata}}; see Wikipedia:Infobox modules for guidance on such usage.

This version of {{Infobox scientist}} 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 ویرایش

Gilean McVean
زادهٔ‏۲۵ فوریهٔ ۱۹۷۳‏ ویرایش این در ویکی‌داده (۵۱ سال)
محل تحصیل
پیشه
جایزه‌ها
وبگاهhttp://www.well.ox.ac.uk/gil-mcvean ویرایش این در ویکی‌داده
Scientific career
Fieldsژنتیک آماری ویرایش این در ویکی‌داده
Institutions
Academic advisorDeborah Charlesworth، برایان چالرزوورت ویرایش این در ویکی‌داده
Doctoral studentsIain Mathieson ویرایش این در ویکی‌داده


Just use:

{{infobox scientist/Wikidata | fetchwikidata=ALL}}

and you should get a Wikidata-filled infobox! (Providing the article is linked to a Wikidata entry containing relevant information!). This will by default only fetch information that is sourced on Wikidata. This is an important safeguard for BLPs. The subject's current age (or age at death) will be calculated automatically provided that the dates are sourced and full (i.e. 12 January 1958 not 1958).

General example ویرایش

{{Infobox scientist/Wikidata
 | suppressfields=occupation children
 | dateformat = dmy
 | noicon=false
...
}}

This will prevent the infobox from displaying the fields for occupation or children. |noicon=false will unsuppress the pencil icons instead of a single "edit on Wikidata" link at the bottom (see McVean, right).

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
noicon shuold the pencils be shown false means they should, default is they should not ("on")
list Should multiple items be shown in a list format (use value "ubl" for un-bulleted list) or comma separated (default)

In addition to the parameters available from {{Infobox person/Wikidata}} the following scientist specific parameters are available

Subject-specific parameters
Parameter Wikidata property
thesis پایان نامه دانشگاهی (P1026)
doctoral_advisors استاد راهنمای تز دکترا (P184)
academic_advisors از دانشجویانِ (P1066)
doctoral_students دانشجوی دکتری (P185)
notable_students شاگردان (P802)
patrons (P1962)
author_abbrev_bot تخلص نامندۀ گیاه‌شناس (P428)
author_abbrev_zoo یادکرد پدیدآورنده (جانورشناسی) (P835)
influences متأثر از (P737)

See also ویرایش

Microformats ویرایش

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

زیرالگوها ویرایش

اطلاعات تاریخ تولد، تنها هنگامی در ریزقالب گنجانده می‌شود که {{تاریخ تولد}} یا {{تاریخ تولد و سن}} در جعبه اطلاعات، بکار رفته باشند. (اگر تاریخ قبل از ۱۵۸۳ است از این الگوها استفاده نکنید). بر پایه زندگی‌نامه زندگان در بکار بردن این الگو درباره افراد زنده، محتاط باشید.

برای افزودن نشانی وب، از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها ویرایش

hCard از کلاس‌های HTML زیر استفاده می‌کند:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

Tracking category ویرایش