Difference between revisions of "Template:Infobox philosopher"

From blackwiki
Jump to navigation Jump to search
imported>Wikisian
(Undid revision 557752275 by Wikisian (talk))
imported>Kaldari
(remove hard deprecated param home_town)
 
(37 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{Infobox
+
{{#ifeq:{{lc:{{{embed}}}}}|yes|[[Category:Pages using infobox philosopher with embed equal yes]]<hr />'''Philosophy career'''}}{{Infobox person
| bodyclass = vcard
+
| child           = {{lc:{{{embed}}}}}
| child = {{{child|}}}
+
| honorific_prefix = {{{honorific_prefix|}}}
| title = {{#ifeq:{{{child|}}}|yes |Philosophical career |{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
+
| name            = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| titleclass = fn
+
| native_name = {{{native_name|}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_name|{{{image|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
+
| honorific_suffix = {{{honorific_suffix|}}}
| captionstyle = padding-top:0.45em;line-height:1.1em;
+
| image           = {{{image|}}}
| caption = {{{caption|}}}
+
| image_size      = {{{image_size|}}}
| label1 = Full name
+
| image_upright    = {{{image_upright|}}}
| data1 =  
+
| alt              = {{{alt|}}}
| label2 = Other names
+
| caption          = {{{caption|}}}
| class2 = nickname
+
| other_names      = {{{other_names|}}}
| data2 = {{{other_names|}}}
+
| birth_name      = {{{birth_name|}}}
| label3 = Born
+
| birth_date      = {{{birth_date|}}}
| data3 = {{br separated entries|{{#if:{{{birth_name|}}}|<span>{{{birth_name}}}</span>}}|{{{birth_date|}}}|{{{birth_place|}}}}}
+
| birth_place      = {{{birth_place|}}}
| label4 = Died
+
| death_date      = {{{death_date|}}}
| data4 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}|{{{death_cause|}}}}}
+
| death_place      = {{{death_place|}}}
| label5 = Residence
+
| death_cause      = {{{death_cause|}}}
| data5 = {{{residence|}}}  
+
| residence        = {{{residence|}}}
| label6 = Nationality
+
| nationality      = {{{nationality|}}}
| data6 = {{{nationality|}}}  
+
| spouse          = {{{spouse|}}}
| label7 = Era
+
| partner          = {{{partner|}}}
| data7 = {{{era|}}}
+
| education        = {{{education|}}}
| label8 = Region
+
| alma_mater      = {{{alma_mater|}}}
| data8 = {{{region|}}}
+
| notable_works    = {{{notable_works|{{{books|}}}}}} <!--"books" deprecated but supported-->
| label9 = Religion
+
| awards          = {{{awards|}}}
| data9 = {{{religion|}}}
+
| signature        = {{{signature|}}}
| label10 = [[List of schools of philosophy|School]]
+
| signature_alt    = {{{signature_alt|}}}
| data10 = {{{school_tradition|}}}
+
| signature_size  = {{{signature_size|}}}
| label11 = Main&nbsp;interests
+
| website          = {{{website|}}}
| data11 = {{{main_interests|}}}
+
| nocat_wdimage    = {{{nocat_wdimage|}}}
| label12 = Books
+
| module          =
| data12 = {{{books|}}}
+
    {{#if:{{{era|}}}{{{region|}}}{{{school_tradition|}}}{{{institutions|}}}{{{thesis1_title|}}}{{{thesis2_title|}}}{{{thesis_title|}}}{{{doctoral_advisors|}}}{{{doctoral_advisor|}}}{{{academic_advisors|}}}{{{doctoral_students|}}}{{{language|}}}{{{main_interests|}}}{{{notable_ideas|}}}{{{influences|}}}{{{influenced|}}}
| label13 = Alma mater
+
    | {{Infobox |child=yes
| data13 = {{{alma_mater|}}}
+
        | label1    = Era
| label14 = Institutions
+
        | class1    = category
| data14 = {{{institutions|}}}
+
        | data1    = {{{era|}}}
| label15 = Notable&nbsp;ideas
+
        | label2    = Region
| data15 = {{{notable_ideas|}}}
+
        | class2    = category
| data16 = {{#if:{{{influences|}}}
+
        | data2    = {{{region|}}}
            | {{Collapsible list
+
        | label3    = [[List of schools of philosophy|School]]
              | expand = {{{expand|}}}
+
        | class3    = category
              | title = Influenced by
+
        | data3    = {{{school_tradition|}}}
              | frame_style = border:none; padding:0;
+
        | label4    = Institutions
              | list_style = text-align:center;
+
        | class4    = org
              | 1 = {{{influences}}}
+
        | data4    = {{{institutions|}}}
              }}
+
 
          }}
+
        | label5    = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
| data17 = {{#if:{{{influenced|}}}
+
        | data5    = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
            | {{Collapsible list
+
            | {{plainlist|
              | expand = {{{expand|}}}
+
* {{#if:{{{thesis1_title|}}}
              | title = Influenced
+
  |   {{#if:{{{thesis1_url|}}}  |[{{{thesis1_url}}} ''{{{thesis1_title}}}''] |''{{{thesis1_title}}}''}}}}<!--
              | frame_style = border:none; padding:0;
+
    -->{{#if:{{{thesis1_year|}}} |&nbsp;{{smaller|({{{thesis1_year}}})}}
              | list_style = text-align:center;
+
  }}
              | 1 = {{{influenced}}}
+
* {{#if:{{{thesis2_title|}}}
              }}
+
  |   {{#if:{{{thesis2_url|}}}  |[{{{thesis2_url}}} ''{{{thesis2_title}}}''] |''{{{thesis2_title}}}''}}}}<!--
          }}
+
    -->{{#if:{{{thesis2_year|}}} |&nbsp;{{smaller|({{{thesis2_year}}})}}
| label18 = Awards
+
  }}
| data18 = {{{awards|}}}
+
}}
| label19 = Signature
+
            | {{#if:{{{thesis_title|}}}
| data19 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=128px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
+
                |   {{#if:{{{thesis_url|}}}  |[{{{thesis_url}}} ''{{{thesis_title}}}''] |''{{{thesis_title}}}''}}}}<!--
| label20 = Website
+
                -->{{#if:{{{thesis_year|}}} |&nbsp;{{smaller|({{{thesis_year}}})}}
| data20 = {{{website|}}}
+
            }} }}
}}<includeonly>[[Category:Infobox philosopher maintenance]]</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here. --></noinclude>
+
        | label6    = [[Doctoral advisor]]{{#if:{{{doctoral_advisors|}}}|s}}
 +
        | data6    = {{if empty|{{{doctoral_advisors|}}}|{{{doctoral_advisor|}}}}}
 +
 
 +
        | label7    = {{#if:{{{doctoral_advisors|}}}{{{doctoral_advisor|}}} |Other&nbsp;academic advisors |Academic advisors}}
 +
        | data7    = {{{academic_advisors|}}}
 +
 
 +
        | label8    = Doctoral students
 +
        | data8    = {{{doctoral_students|}}}
 +
 
 +
        | label9    = {{#if:{{{doctoral_students|}}} |Other&nbsp;notable students |Notable students}}
 +
        | data9    = {{{notable_students|}}}
 +
 
 +
        | label10    = Language
 +
        | data10    = {{{language|}}}
 +
 
 +
        | label11    = {{longitem|Main interests}}
 +
        |  data11    = {{{main_interests|}}}
 +
 
 +
        | rowclass12 = 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}}}}}}} }}
 +
    }} }}
 +
| module2          = {{{module|}}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox philosopher with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox philosopher]] with unknown parameter "_VALUE_"|ignoreblank=y| academic_advisors | alma_mater | alt | awards | birth_date | birth_name | birth_place | books | caption | death_cause | death_date | death_place | doctoral_advisor | doctoral_advisors | doctoral_students | education | embed | era | honorific_prefix | honorific_suffix | image | image_size | image_upright | influenced | influences | institutions | language | main_interests | module | name | nationality | native_name | nocat_wdimage | notable_ideas | notable_students | notable_works | other_names | partner | region | residence | school_tradition | signature | signature_alt | signature_size | spouse | thesis_title | thesis_url | thesis_year | thesis1_title | thesis1_url | thesis1_year | thesis2_title | thesis2_url | thesis2_year | website }}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 19:19, 26 October 2020

[[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