Template:Infobox philosopher/doc: Difference between revisions
en>Fayenatic london (update link) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:19, 18 January 2023
File:Edit-copy green.svg | 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. |
File:Ambox warning yellow.svg | 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. |
File:Lua-Logo.svg | 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
Script error: No such module "Parameter names example".
{{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 = | nationality = <!-- use only when necessary per [[WP:INFONAT]] --> | spouse = | partner = | children = | family = | relatives = | education = | alma_mater = | occupation = | 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 = | language = | 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
- Script error: No such module "Shortcut". 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.
For usage of other parameters, see Template:Infobox person/doc.
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.
Embedding
Jane Doe | |
---|---|
Born | today |
Philosophy career | |
Era | Contemporary |
Region | Western philosophy |
School | Continental philosophy |
Doctoral advisor | Script error: No such module "If empty". |
Main interests | Political theory |
Notable ideas | Homo faber |
Script error: No such module "collapsible list". | |
Script error: No such module "collapsible list". |
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.
Tracking categories
- Category:No local image but image on Wikidata (10) – 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. - Category:Pages using infobox philosopher with unknown parameters (0)
See also
- {{Infobox scientist}}
- {{Infobox theologian}}