Template:Infobox scientist/Wikidata/doc
This is a documentation subpage for Template:Infobox scientist/Wikidata. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
- image (P18) (see uses)
- place of burial (P119) (see uses)
- genre (P136) (see uses)
- media legend (P2096) (see uses)
- list of works (P1455) (see uses)
- birth name (P1477) (see uses)
- date of birth (P569) (see uses)
- place of birth (P19) (see uses)
- date of death (P570) (see uses)
- signature (P109) (see uses)
- official website (P856) (see uses)
- official blog URL (P1581) (see uses)
- sibling (P3373) (see uses)
- notable work (P800) (see uses)
- educated at (P69) (see uses)
- cause of death (P509) (see uses)
- date of baptism (P1636) (see uses)
- place of death (P20) (see uses)
- educated at (P69) (see uses)
- occupation (P106) (see uses)
- employer (P108) (see uses)
- spouse (P26) (see uses)
- award received (P166) (see uses)
- field of work (P101) (see uses)
- academic thesis (P1026) (see uses)
- doctoral advisor (P184) (see uses)
- student of (P1066) (see uses)
- doctoral student (P185) (see uses)
- student (P802) (see uses)
- author citation (zoology) (P835) (see uses)
- botanist author abbreviation (P428) (see uses)
- sponsor (P859) (see uses)
- influenced by (P737) (see uses)
The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
This template is a customized wrapper for {{Infobox person/Wikidata}}. Any field from {{Infobox person/Wikidata}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person/Wikidata}} . Questions? Just ask here or over at Template talk:Infobox person/Wikidata. |
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. |
{{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 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]Gilean McVean | |
---|---|
Born | 25 February 1973 |
Alma mater | |
Occupation | |
Awards |
|
Website | http://www.well.ox.ac.uk/gil-mcvean |
Academic career | |
Fields | Statistical genetics |
Institutions | |
Academic advisor | Deborah Charlesworth, Brian Charlesworth |
Doctoral students | Iain 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
[edit]{{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
[edit]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 | should 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
Parameter | Wikidata property |
---|---|
thesis | academic thesis (P1026) |
doctoral_advisors | doctoral advisor (P184) |
academic_advisors | student of (P1066) |
doctoral_students | doctoral student (P185) |
notable_students | student (P802) |
patrons | (P1962) |
author_abbrev_bot | botanist author abbreviation (P428) |
author_abbrev_zoo | author citation (zoology) (P835) |
influences | influenced by (P737) |
Template Data
[edit]Template used to summarize information about a person who is a scientist, medic, engineer, mathematician or (scientific) academic.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Fetch Wikidata | fetchwikidata | allows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none
| Unknown | suggested |
Suppress Fields | suppressfields | allows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none
| String | suggested |
See also
[edit]Microformats
[edit]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.
Sub-templates
[edit]Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[edit]hCard uses HTML classes including:
- 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
Please do not rename or remove these classes nor collapse nested elements which use them.
Tracking category
[edit]