Difference between revisions of "Template:Infobox philosopher"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(per request on talk page)
imported>Frietjes
(per request on talk page)
Line 30: Line 30:
 
  | nocat_wdimage    = {{{nocat_wdimage|}}}
 
  | nocat_wdimage    = {{{nocat_wdimage|}}}
 
  | module          =
 
  | module          =
     {{#if:{{{era|}}}{{{region|}}}{{{school_tradition|}}}{{{institutions|}}}{{{main_interests|}}}{{{notable_ideas|}}}{{{thesis1_title|}}}{{{thesis2_title|}}}{{{thesis_title|}}}{{{influences|}}}{{{influenced|}}}
+
     {{#if:{{{era|}}}{{{region|}}}{{{school_tradition|}}}{{{institutions|}}}{{{thesis1_title|}}}{{{thesis2_title|}}}{{{thesis_title|}}}{{{doctoral_advisors|}}}{{{doctoral_advisor|}}}{{{academic_advisors|}}}{{{doctoral_students|}}}{{{main_interests|}}}{{{notable_ideas|}}}{{{influences|}}}{{{influenced|}}}
 
     | {{Infobox |child=yes
 
     | {{Infobox |child=yes
         | label1   = Era
+
         | label1     = Era
         | class1   = category
+
         | class1     = category
         |  data1   = {{{era|}}}
+
         |  data1     = {{{era|}}}
         | label2   = Region
+
         | label2     = Region
         | class2   = category
+
         | class2     = category
         |  data2   = {{{region|}}}
+
         |  data2     = {{{region|}}}
         | label3   = [[List of schools of philosophy|School]]
+
         | label3     = [[List of schools of philosophy|School]]
         | class3   = category
+
         | class3     = category
         |  data3   = {{{school_tradition|}}}
+
         |  data3     = {{{school_tradition|}}}
         | label4   = Institutions
+
         | label4     = Institutions
         | class4   = org
+
         | class4     = org
         |  data4   = {{{institutions|}}}
+
         |  data4     = {{{institutions|}}}
        | rowclass5 = note
+
 
         | label5   = {{longitem|Main interests}}
+
         | label5     = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
        |  data5    = {{{main_interests|}}}
+
         |  data5    = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
        | rowclass6 = note
 
        | label6    = {{longitem|Notable ideas}}
 
        |  data6    = {{{notable_ideas|}}}
 
        | label7    = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
 
         |  data7    = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
 
 
             | {{plainlist|
 
             | {{plainlist|
 
* {{#if:{{{thesis1_title|}}}
 
* {{#if:{{{thesis1_title|}}}
Line 66: Line 61:
 
                 -->{{#if:{{{thesis_year|}}} | {{smaller|({{{thesis_year}}})}}
 
                 -->{{#if:{{{thesis_year|}}} | {{smaller|({{{thesis_year}}})}}
 
             }} }}
 
             }} }}
         | rowclass8 = note
+
         | label6    = [[Doctoral advisor]]{{#if:{{{doctoral_advisors|}}}|s}}
         |  data8   = {{#if:{{{influences|}}} |{{Collapsible list |title=Influences |{{center|{{{influences}}}}}}} }}
+
        |  data6    = {{if empty|{{{doctoral_advisors|}}}|{{{doctoral_advisor|}}}}}
         | rowclass9 = note
+
 
         |  data9   = {{#if:{{{influenced|}}} |{{Collapsible list |title=Influenced |{{center|{{{influenced}}}}}}} }}
+
        | label7    = {{#if:{{{doctoral_advisors|}}}{{{doctoral_advisor|}}} |Other academic advisors |Academic advisors}}
 +
        |  data7    = {{{academic_advisors|}}}
 +
 
 +
        | label8    = Doctoral students
 +
        |  data8    = {{{doctoral_students|}}}
 +
 
 +
        | label9    = {{#if:{{{doctoral_students|}}} |Other notable students |Notable students}}
 +
        |  data9    = {{{notable_students|}}}
 +
 
 +
        | rowclass10 = note
 +
        | label10    = {{longitem|Main interests}}
 +
        |  data10    = {{{main_interests|}}}
 +
        | rowclass11 = note
 +
        | label12    = {{longitem|Notable ideas}}
 +
        |  data12    = {{{notable_ideas|}}}
 +
        | rowclass13 = note
 +
         |  data13   = {{#if:{{{influences|}}} |{{Collapsible list |title=Influences |{{center|{{{influences}}}}}}} }}
 +
         | rowclass14 = note
 +
         |  data14   = {{#if:{{{influenced|}}} |{{Collapsible list |title=Influenced |{{center|{{{influenced}}}}}}} }}
 
     }} }}
 
     }} }}
 
{{{module|}}}
 
{{{module|}}}

Revision as of 17:45, 1 April 2017

[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image

Template documentation[view] [edit] [history] [purge]

Template:Uses infobox person

Template:Tracks Wikidata

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

Template: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       = 
| 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  = 
| 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:

Microformat

Template:UF-hcard-person

Embedding

Jane Doe
Borntoday

Philosophy career
EraContemporary philosophy
RegionWestern philosophy
SchoolContinental philosophy
Doctoral advisorScript error: No such module "If empty".
Main interests
Political theory
Notable ideas
Homo faber
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image 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

See also