Template:Infobox philosopher/doc: Difference between revisions
en>Adavidb m (updated category sort) |
m (1 revision imported) |
Latest revision as of 19:02, 25 February 2019
This is a documentation subpage for Template:Infobox philosopher. It contains usage information, categories and other content that is not part of the original template page. |
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: |
This template is used to provide biographical information on anyone who might be considered a philosopher. If the philosopher held or holds a political or other public office (e.g. Alan Greenspan), {{Infobox officeholder}} is probably more suitable.
Usage
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}} |alt={{{alt}}}]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
Nationality | {{{nationality}}} |
Other names | {{{other_names}}} |
Education | {{{education}}} |
Alma mater | {{{alma_mater}}} |
Notable work | {{{notable_works}}} |
Spouse(s) | {{{spouse}}} |
Partner(s) | {{{partner}}} |
Awards | {{{awards}}} |
Era | {{{era}}} |
Region | {{{region}}} |
School | {{{school_tradition}}} |
Institutions | {{{institutions}}} |
Thesis | {{{thesis_title}}} |
Doctoral advisor | {{{doctoral_advisor}}} |
Other academic advisors | {{{academic_advisors}}} |
Doctoral students | {{{doctoral_students}}} |
Other notable students | {{{notable_students}}} |
Main interests | {{{main_interests}}} |
Notable ideas | {{{notable_ideas}}} |
Influences
| |
Influenced
| |
Website | {{{website}}} |
Signature | |
[[File:{{{signature}}} |{{{signature_size}}} |alt={{{signature_alt}}}]] |
{{Infobox philosopher | honorific_prefix = | name = <!-- include middle initial, if not specified in birth_name --> | native_name = <!-- add name in the philosopher's language or script if different from the English name --> | honorific_suffix = | image = <!-- filename only, i.e. without the File: (or Image:) prefix or enclosing [[brackets]] --> | image_size = | alt = | caption = | other_names = | birth_name = <!-- only use if different from name --> | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} for living persons, {{birth date|YYYY|MM|DD}} for deceased. For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. --> | birth_place = | death_date = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | death_cause = | residence = | nationality = | spouse = | partner = | education = | alma_mater = | notable_works = <!-- use "notable_works" in place of "books" parameter (deprecated) --> | awards = | signature = | signature_size = | signature_alt = | era = | region = | school_tradition = | institutions = | thesis_title = <!--(or | thesis1_title = and | thesis2_title = )--> | thesis_url = <!--(or | thesis1_url = and | thesis2_url = )--> | thesis_year = <!--(or | thesis1_year = and | thesis2_year = )--> | doctoral_advisor = <!--(or | doctoral_advisors = )--> | academic_advisors = | doctoral_students = | notable_students = | main_interests = | notable_ideas = | influences = <!-- only add entries which are explained and cited in the body of the article (or cited here)--> | influenced = <!-- only add entries which are explained and cited in the body of the article (or cited here)--> | website = <!-- {{URL|example.com}} --> }}
To use this template, copy the text above to the top of a biography article. Note that parameter names are lowercase.
Parameters
All parameters are optional, and if left blank will not appear in the infobox:
- era should be selected from Category:Philosophy by period
- region should be selected from Category:Philosophy by region
- school_tradition should be selected from Category:Philosophical traditions or List of schools of philosophy
- Entries in influences, influenced, and notable ideas should be explained in the main text of one of the articles. Those that are not mentioned in the main text may be deleted.
- For living people supply only the year for birth date 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.
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.
Embedding
Jane Doe | |
---|---|
Born | today |
Philosophy career | |
Era | Contemporary philosophy |
Region | Western philosophy |
School | Continental philosophy |
Doctoral advisor | Karl Jaspers |
Main interests | Political theory |
Notable ideas | Homo faber |
Influences | |
Influenced |
End of Infobox person
Alternatively {{infobox philosopher}} may be embedded within {{infobox person}}, using |module in the latter, as shown here. This allows the use of more fields by drawing on both infoboxes. For an example, see Hannah Arendt.
See also
- {{Infobox scientist}}
- {{Infobox theologian}}