Difference between revisions of "Template:Infobox philosopher"

From blackwiki
Jump to navigation Jump to search
imported>HarisX
imported>Kaldari
(remove hard deprecated param home_town)
 
(162 intermediate revisions by 68 users not shown)
Line 1: Line 1:
{| class="infobox vcard" cellpadding="2" style="border-color: {{{color}}}; width:26em; font-size: 85%"
+
{{#ifeq:{{lc:{{{embed}}}}}|yes|[[Category:Pages using infobox philosopher with embed equal yes]]<hr />'''Philosophy career'''}}{{Infobox person
|-
+
| child            = {{lc:{{{embed}}}}}
!bgcolor="{{{color}}}" align="center" colspan="2" style="border-bottom:1px solid {{{color}}}; font-size: 125%;"|{{{region|}}}<br><small>{{{era|}}}</small>
+
| honorific_prefix = {{{honorific_prefix|}}}
{{#if:{{{image_name|}}}|
+
| name            = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name}}}|{{{image_size|200px}}}|center]]
+
| native_name = {{{native_name|}}}
}}
+
| honorific_suffix = {{{honorific_suffix|}}}
{{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>}}</td></tr>
+
| image            = {{{image|}}}
|-
+
| image_size      = {{{image_size|}}}
! style="text-align: right;" |Name:
+
| image_upright    = {{{image_upright|}}}
|<span class="fn">{{{name}}}</span>
+
| alt              = {{{alt|}}}
|-
+
| caption          = {{{caption|}}}
! style="text-align: right;" |Birth:
+
| other_names      = {{{other_names|}}}
|{{{birth}}}
+
| birth_name      = {{{birth_name|}}}
{{#if:{{{death|}}}|
+
| birth_date      = {{{birth_date|}}}
<tr><th style="text-align: right;">Death:</th>
+
| birth_place      = {{{birth_place|}}}
<td>{{{death}}}</td></tr>
+
| death_date      = {{{death_date|}}}
}}
+
| death_place      = {{{death_place|}}}
|- class="note"
+
| death_cause      = {{{death_cause|}}}
! style="text-align: right;" |School/tradition:
+
| residence        = {{{residence|}}}
|{{{school_tradition}}}
+
| nationality      = {{{nationality|}}}
{{#if:{{{main_interests|}}}|
+
| spouse          = {{{spouse|}}}
<tr><th style="text-align: right;">Main interests:</th>
+
| partner          = {{{partner|}}}
<td>{{{main_interests}}}</td></tr>
+
| education        = {{{education|}}}
}}{{#if:{{{notable_ideas|}}}|
+
| alma_mater      = {{{alma_mater|}}}
<tr><th style="text-align: right;">Notable ideas:</th>
+
| notable_works    = {{{notable_works|{{{books|}}}}}} <!--"books" deprecated but supported-->
<td>{{{notable_ideas}}}</td></tr>
+
| awards          = {{{awards|}}}
}}{{#if:{{{influences|}}}|
+
| signature        = {{{signature|}}}
<tr><th style="text-align: right;">Influences:</th>
+
| signature_alt    = {{{signature_alt|}}}
<td>{{{influences}}}</td></tr>
+
| signature_size  = {{{signature_size|}}}
}}{{#if:{{{influenced|}}}|
+
| website          = {{{website|}}}
<tr><th style="text-align: right;">Influenced:</th>
+
| nocat_wdimage    = {{{nocat_wdimage|}}}
<td>{{{influenced}}}</td></tr>
+
| module          =
}}{{#if:{{{signature|}}}|
+
    {{#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|}}}
<tr><th style="text-align: right;">Signature:</th>
+
    | {{Infobox |child=yes
<td>[[Image:{{{signature}}}|128px|center]]</td></tr>
+
        | label1    = Era
 +
        | class1    = category
 +
        |  data1    = {{{era|}}}
 +
        | label2    = Region
 +
        | class2    = category
 +
        |  data2    = {{{region|}}}
 +
        | label3    = [[List of schools of philosophy|School]]
 +
        | class3    = category
 +
        |  data3    = {{{school_tradition|}}}
 +
        | label4    = Institutions
 +
        | class4    = org
 +
        |  data4    = {{{institutions|}}}
 +
 
 +
        | label5    = {{#if:{{{thesis2_title|}}} |[[Thesis|Theses]] |[[Thesis]]}}
 +
        |  data5    = {{#if:{{{thesis1_title|}}}{{{thesis2_title|}}}
 +
            | {{plainlist|
 +
* {{#if:{{{thesis1_title|}}}
 +
  |  {{#if:{{{thesis1_url|}}} |[{{{thesis1_url}}} ''{{{thesis1_title}}}''] |''{{{thesis1_title}}}''}}}}<!--
 +
    -->{{#if:{{{thesis1_year|}}} |&nbsp;{{smaller|({{{thesis1_year}}})}}
 +
  }}
 +
* {{#if:{{{thesis2_title|}}}
 +
  |  {{#if:{{{thesis2_url|}}}  |[{{{thesis2_url}}} ''{{{thesis2_title}}}''] |''{{{thesis2_title}}}''}}}}<!--
 +
    -->{{#if:{{{thesis2_year|}}} |&nbsp;{{smaller|({{{thesis2_year}}})}}
 +
  }}
 
}}
 
}}
|}<noinclude>
+
            | {{#if:{{{thesis_title|}}}
==Usage==
+
                |  {{#if:{{{thesis_url|}}}  |[{{{thesis_url}}} ''{{{thesis_title}}}''] |''{{{thesis_title}}}''}}}}<!--
<div style="display:table; width:auto;"><pre>
+
                -->{{#if:{{{thesis_year|}}} |&nbsp;{{smaller|({{{thesis_year}}})}}
{{Infobox_Philosopher |
+
             }} }}
  <!-- Scroll down to edit this page -->
+
        | label6    = [[Doctoral advisor]]{{#if:{{{doctoral_advisors|}}}|s}}
  <!-- Philosopher Category -->
+
        |  data6    = {{if empty|{{{doctoral_advisors|}}}|{{{doctoral_advisor|}}}}}
  region          =  |
 
  era             = |
 
  color          = #B0C4DE |
 
  
  <!-- Images -->
+
        | label7    = {{#if:{{{doctoral_advisors|}}}{{{doctoral_advisor|}}} |Other&nbsp;academic advisors |Academic advisors}}
  image_name      = |
+
        | data7    = {{{academic_advisors|}}}
  image_caption  = |
 
  signature      = |
 
  
  <!-- Information -->
+
        | label8    = Doctoral students
  name          =  |
+
         |  data8     = {{{doctoral_students|}}}
  birth        = |
 
  death         |
 
  school_tradition    = |
 
  main_interests     = |
 
  influences    =  |
 
  influenced    =  |
 
  notable_ideas =  |
 
}}
 
</pre></div>
 
This template is used to provide biographical information on anyone who might be considered a philosopher. This template is generally superseded by officeholder templates (if the philosopher held political or other public office; e.g. [[Alan Greenspan]]).
 
  
To use this template, copy the text above to the top of the biography.
+
        | label9    = {{#if:{{{doctoral_students|}}} |Other&nbsp;notable students |Notable students}}
* '''Region''', '''Name''' '''Birth''' and '''School/tradition''' are compulsory; other fields, if left blank, will not appear in the Infobox;
+
        |  data9    = {{{notable_students|}}}
* '''Era''' is an optional parameter
 
* '''Region''' should be selected from [[:Category:Philosophy by region]];
 
* '''Era''' should be selected from [[:Category:Philosophy by era]];
 
* '''School/tradition''' should be selected from [[:Category:Philosophical schools and traditions]];
 
* 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.
 
  
==Microformat==
+
        | label10    = Language
{{UF-hcard-person}}
+
        |  data10    = {{{language|}}}
  
[[ar:قالب:معلومات فيلسوف]]
+
        | label11    = {{longitem|Main interests}}
[[da:Skabelon:Infoboks_filosof]]
+
        |  data11    = {{{main_interests|}}}
[[fr:Modèle:Infobox Philosophe]]
 
[[he:תבנית:פילוסוף]]
 
[[hu:Sablon:Infobox Filozófus]]
 
[[id:Templat:Kotak info filsuf]]
 
[[ilo:Template:Infobox_Filosopo2]]
 
[[is:Snið:Heimspekingur]]
 
[[it:Template:Infobox Filosofo]]
 
[[mk:Философ]]
 
[[no:Infoboks filosof]]
 
[[ps:Infobox Philosopher]]
 
[[pt:Predefinição:Info biografia]]
 
[[ro:Format:Filozof]]
 
[[ru:Шаблон:Философ]]
 
[[sr:Шаблон:Филозоф]]
 
[[tr:Şablon:Filozoflar bilgi kutusu]]
 
[[vi:Tiêu bản:Infobox Philosopher]]
 
[[zh:Template:Infobox Philosopher]]
 
[[ja:Template:Infobox 哲学者]]
 
  
[[Category:people infobox templates|Philosopher]]
+
        | rowclass12 = note
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
        | 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>
 
</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