Difference between revisions of "Template:Infobox philosopher"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add optional box_width parameter)
imported>Zyxw
(Show infobox on this page with all parameters displayed (use #B0C4DE for color parameter). Allow alternate parameter names for image_name & image_caption: image & caption.)
Line 1: Line 1:
{| class="infobox vcard" cellpadding="2" style="border-color:{{{color}}}; width:{{{box_width|26em}}}; font-size:85%;"
+
{| class="infobox vcard" cellpadding="2" style="border-color: {{{color|<noinclude>#B0C4DE</noinclude>}}}; width:{{{box_width|26em}}}; font-size:85%;"
 
|-
 
|-
!bgcolor="{{{color}}}" align="center" colspan="2" style="border-bottom:1px solid {{{color}}}; font-size: 125%;"|{{{region|}}}<br><small>{{{era|}}}</small>
+
! bgcolor="{{{color|<noinclude>#B0C4DE</noinclude>}}}" align="center" colspan="2" style="border-bottom:1px solid {{{color|<noinclude>#B0C4DE</noinclude>}}}; font-size:125%;" | {{{region<includeonly>|</includeonly>}}}<br/><small>{{{era<includeonly>|</includeonly>}}}</small>
{{#if:{{{image_name|}}}|
+
{{#if: {{{image<includeonly>|</includeonly>}}} {{{image_name|}}} |
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name}}}|{{{image_size|200px}}}|center]]
+
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name|{{{image}}}}}}|{{{image_size|200px}}}]]
 
}}
 
}}
{{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>}}</td></tr>
+
{{#if: {{{caption<includeonly>|</includeonly>}}} {{{image_caption|}}}|
 +
<div style="line-height:1.25em;">{{{image_caption|{{{caption}}}}}}</div>
 +
}}</td></tr>
 
|-
 
|-
 
! style="text-align: right;" |Name:
 
! style="text-align: right;" |Name:
Line 12: Line 14:
 
! style="text-align: right;" |Birth:
 
! style="text-align: right;" |Birth:
 
|{{{birth}}}
 
|{{{birth}}}
{{#if:{{{death|}}}|
+
{{#if: {{{death<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Death:</th>
 
<tr><th style="text-align: right;">Death:</th>
 
<td>{{{death}}}</td></tr>
 
<td>{{{death}}}</td></tr>
Line 19: Line 21:
 
! style="text-align: right;" |School/tradition:
 
! style="text-align: right;" |School/tradition:
 
|{{{school_tradition}}}
 
|{{{school_tradition}}}
{{#if:{{{main_interests|}}}|
+
{{#if: {{{main_interests<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Main interests:</th>
 
<tr><th style="text-align: right;">Main interests:</th>
 
<td>{{{main_interests}}}</td></tr>
 
<td>{{{main_interests}}}</td></tr>
}}{{#if:{{{notable_ideas|}}}|
+
}}{{#if: {{{notable_ideas<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Notable ideas:</th>
 
<tr><th style="text-align: right;">Notable ideas:</th>
 
<td>{{{notable_ideas}}}</td></tr>
 
<td>{{{notable_ideas}}}</td></tr>
}}{{#if:{{{influences|}}}|
+
}}{{#if: {{{influences<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Influences:</th>
 
<tr><th style="text-align: right;">Influences:</th>
 
<td>{{{influences}}}</td></tr>
 
<td>{{{influences}}}</td></tr>
}}{{#if:{{{influenced|}}}|
+
}}{{#if: {{{influenced<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Influenced:</th>
 
<tr><th style="text-align: right;">Influenced:</th>
 
<td>{{{influenced}}}</td></tr>
 
<td>{{{influenced}}}</td></tr>
}}{{#if:{{{signature|}}}|
+
}}{{#if: {{{signature<includeonly>|</includeonly>}}} |
 
<tr><th style="text-align: right;">Signature:</th>
 
<tr><th style="text-align: right;">Signature:</th>
<td>[[Image:{{{signature}}}|128px|center]]</td></tr>
+
<td>[[Image:{{{signature}}}|128px]]</td></tr>
 
}}
 
}}
|}<noinclude><br /><br /><br />{{Template doc}}
+
|}<noinclude>
 +
{{{{FULLPAGENAME}}/doc}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here. -->
 
</noinclude>
 
</noinclude>

Revision as of 02:59, 13 June 2007

{{{region}}}
{{{era}}}
[[Image:{{{image}}}|200px]]
{{{caption}}}
Name: {{{name}}}
Birth: {{{birth}}}
Death: {{{death}}}
School/tradition: {{{school_tradition}}}
Main interests: {{{main_interests}}}
Notable ideas: {{{notable_ideas}}}
Influences: {{{influences}}}
Influenced: {{{influenced}}}
Signature: [[Image:{{{signature}}}|128px]]

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
Western philosophy
Contemporary philosophy
Name: {{{name}}}
Birth: {{{birth}}}
School/tradition: Continental philosophy
Main interests: Political theory
Notable ideas: Homo faber
Influences: Socrates
Influenced: Seyla Benhabib

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