Template:Infobox medical person: Difference between revisions
en>Shibbolethink (rm influences -- need to investigate formatting consequences further) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:27, 10 May 2019
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} 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}} . Questions? Just ask here or over at Template talk:Infobox person. |
This template uses Lua: |
{{Infobox medical person}} may be used to summarize information about a person in the medical field.
Note that for scientists {{Infobox scientist}} should be used.
Usage
The infobox may be added by pasting the template as shown below into an article.
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
Nationality | {{{nationality}}} |
Citizenship | {{{citizenship}}} |
Education | {{{education}}} |
Occupation | {{{occupation}}} |
Years active | {{{years_active}}} |
Known for | {{{known_for}}} |
Relatives | {{{relations}}} |
Medical career | |
Profession | {{{profession}}} |
Field | {{{field}}} |
Institutions | {{{work_institutions}}} |
Sub-specialties | {{{specialism}}} |
Research | {{{research_field}}} |
Notable works | {{{notable_works}}} |
Awards | {{{prizes}}} |
{{{module2}}} | |
Website | {{{website}}} |
Signature | |
[[File:{{{signature}}}|150px]] |
{{Infobox medical person | honorific_prefix = | name = | honorific_suffix = | image = | image_size = | alt = | caption = | birth_name = <!-- only use if different from name above --> | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | death_cause = | nationality = | citizenship = | education = | occupation = | years_active = | known_for = | relations = | website = | profession = | field = | work_institutions = | specialism = | research_field = | notable_works = | prizes = | child = | module2 = | signature = }}
Parameters
General (from Infobox person)
- name
- Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name).
- image
- Image name: abc.jpg, xpz.png, 123.gif, etc.
- image_size
- Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
- alt
- Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See Wikipedia:Alternative text for images.
- caption
- Caption for image, if needed. Try to include date of photo. Do not simply put the name of the subject
- birth_name
- Name at birth; only use if different from name.
- birth_date
- Date of birth: {{birth date and age}} (if living) or {{birth date}} (if dead). See Template:Birth date and age/doc for details on usage. If only a year of birth is known, or age as of a certain date, consider using {{birth year and age}} or {{birth based on age as of date}}. For living people supply only the year unless the exact date is already WIDELY published, as per WP:DOB. Treat such cases as if only the year is known, so use {{birth year and age}} or a similar option.
- birth_place
- Place of birth: city, administrative region, sovereign state. Note: Do not use a flag template.
- death_date
- Date of death: {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using {{death year and age}}.
- death_place
- Place of death: city, administrative region, sovereign state. Note: Do not use a flag template.
- death_cause
- Cause of death, if known and relevant, e.g., "Accidental radiation overdose".
- nationality
- Nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ and when nationality cannot be inferred from place of birth. Do not use a flag template.
- citizenship
- Country of legal citizenship, if different from nationality. Rarely needed. See usage notes for nationality above. Should only be used if citizenship cannot be inferred from the birthplace; note that many countries do not automatically grant citizenship to people born within their borders. Do not use a flag template.
- education
- List highest degree granting institution and graduation year, if known.
- occupation
- Occupation(s) as given in the lead. Please observe sentence case and capitalize only the first letter of the first item (e.g. Musician, actor, singer-songwriter). Do not use this parameter if using the "profession" parameter below
- years_active
- Date range in years during which the subject was active in their principal occupation(s) and/or other activity for which they are notable. Use the format
1950–2000
, or1970–present
if still active (note the use of an en dash, not hyphen).
- known_for
- A brief description of why the person is notable; this parameter is entirely optional; do not use this parameter if using "specialism" below
- relations
- Names of notable relatives who also have Wikipedia articles; place names within double brackets. Include the relationship in parentheses after the name (sister, uncle, etc). Separate multiple entries using {{Plainlist}} or {{Unbulleted list}}.
- website
- Subject's official website only, if any. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the
www.
part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.
- signature
- An image of the person's signature. Please use image name: abc.jpg, xpz.png, 123.gif, etc.
Medical career
- profession
- State if he/she is/ was a doctor, surgeon, nurse, etc.
- field
- State if he/she is/ was a heart surgeon, physician, etc.
- work_institutions
- Insert key institutions, universities, and/or companies where he/she is/ was employed
- specialism
- For example "organ transplants"
- research_field
- Insert research field, if a published medical researcher
- notable_works
- Insert most notable works, if any, by title and year of publication; do not list all published works
- prizes
- Insert notable prizes, medals, and awards relevant to the medical profession, if any; place name of award in double brackets and give year and category of award
Use as a child template
- child
- For embedding this infobox into another.
- This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person | name = | image = | caption = | birth_date = | birth_place = | <!-- etc. --> | module = {{Infobox medical person | child=yes <!-- or embed=yes or subbox=yes --> | profession = | field = | work_institutions = | specialism = | <!-- etc. --> }} }}
Embedding other templates
- module2
- Used for embedding other templates into this one.
{{Infobox medical person | name = | <!-- etc. --> | module2 = {{Infobox football biography | embed = yes | <!-- etc. --> }} }}
Microformat
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
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
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 categories
- Category:Pages using deprecated image syntax (0) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (686) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also
- {{Infobox person}}
- Templates calling Infobox person
- Lua-based templates
- Templates tracking Wikidata
- Infobox templates
- Templates generating hCards
- Medicine infobox templates
- People and person infobox templates
- Biographical templates usable as a module
- Infobox templates with module parameter
- Templates that add a tracking category