Difference between revisions of "Template:Infobox person"

From maurer
Jump to: navigation, search
(Created page with "<div class="infobox"> <p class="header">{{{name|}}}</p> <!-- [[File:{{{image|}}}|{{{image_size|}}}|{{{caption|}}}]] --> {{{alt|}}} birth_name other_names occupation years_act...")
 
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
+
<div class="infobox" style="width:274px; float:right; border:1px solid rgba(0,0,0,.5); border-radius: 0 0 0 1ch; margin:0 0 1ch 1ch; padding:0 1ch;">
<p class="header">{{{name|}}}</p>
+
<div style="text-align:center; background-color:rgba(0,0,0,.1); margin:0 -1ch; padding:0 1ch;>
<!--
+
<div style="font-size:calc(1em + 1px);>'''{{{name|{{PAGENAME}}}}}'''</div>{{#if: {{{image|}}}
[[File:{{{image|}}}|{{{image_size|}}}|{{{caption|}}}]]
+
|<div style="margin:0 -1ch; padding:0;">[[File:{{{image}}}|272x544px]]</div>{{#if: {{{caption|}}}
-->
+
  |<div style="font-size:smaller;">{{{caption}}}</div>
{{{alt|}}}
+
  |}}
 
+
|}}</div><!--
 
birth_name
 
birth_name
 
other_names
 
other_names
Line 11: Line 11:
 
years_active
 
years_active
 
notable_works
 
notable_works
resting_place burial_place
+
resting_place
 +
burial_place
 
residence
 
residence
 
education
 
education
 
employer
 
employer
 
organization
 
organization
 +
-->{{#if: {{{birth_date|}}} {{{birth_place|}}}
 +
|;Born
 +
{{#if: {{{birth_date|}}}
 +
  |: {{{birth_date}}}
 +
  |}}
 +
{{#if: {{{birth_place|}}} {{{birth_place_wp|}}}
 +
  |: {{#if: {{{birth_place_wp|}}}
 +
    | {{wp|{{{birth_place_wp}}}|{{{birth_place|{{{birth_place_wp}}}}}}}}
 +
    | {{{birth_place}}}
 +
    }}
 +
  |}}
 +
|}}<!--
 +
-->{{#if: {{{death_date|}}} {{{death_place|}}} {{{death_place_wp|}}}
 +
|;Died
 +
{{#if: {{{death_date|}}}
 +
  |: {{{death_date}}}
 +
  |}}
 +
{{#if: {{{death_place|}}} {{{death_place_wp|}}}
 +
  |: {{#if: {{{death_place_wp|}}}
 +
    | {{wp|{{{death_place_wp}}}|{{{death_place|{{{death_place_wp}}}}}}}}
 +
    | {{{death_place}}}
 +
    }}
 +
  |}}
 +
|}}<!--
 +
-->{{#if: {{{nationality|}}}
 +
|;Nationality: {{{nationality}}}
 +
|}}<!--
 +
-->{{#if: {{{citizenship|}}}
 +
|;Citizenship: {{{citizenship}}}
 +
|}}<!--
 +
SECTION -->{{#if: {{{father|}}} {{{mother|}}} {{{siblings|}}} {{{spouse|}}} {{{partner|}}} {{{children|}}}
 +
|&nbsp;
 +
 +
<p style="text-align:center; background-color:rgba(0,0,0,.1); font-weight:600;">Family</p>
 +
{{#if: {{{father|}}}
 +
|;Father: {{{father}}}
 +
|}}<!--
 +
-->{{#if: {{{mother|}}}
 +
|;Mother: {{{mother}}}
 +
|}}<!--
 +
-->{{#if: {{{siblings|}}}
 +
|;Siblings: {{{siblings}}}
 +
|}}<!--
 +
-->{{#if: {{{spouse|}}}
 +
|;Spouse: {{{spouse}}}
 +
|}}<!--
 +
-->{{#if: {{{partner|}}}
 +
|;Partner: {{{partner}}}
 +
|}}<!--
 +
-->{{#if: {{{children|}}}
 +
|;Children: {{{children}}}
 +
|}}
 +
|}}<!--
 +
SECTION -->{{#if: {{{known_for|}}} {{{alma_mater|}}} {{{awards|}}} {{{prizes|}}} {{{fields|{{{field|}}}}}} {{{institutions|{{{work_institution|}}}}}} {{{mentors|{{{doctoral_advisor|}}}}}} {{{students|{{{doctoral_students|}}}}}}
 +
|&nbsp;
 +
 +
<p style="text-align:center; background-color:rgba(0,0,0,.1); font-weight:600;">Known for</p>
 +
{{#if: {{{known_for|}}}
 +
|{{{known_for}}}
 +
|}}<!--
 +
-->{{#if: {{{alma_mater|}}}
 +
|;Alma mater: {{{alma_mater}}}
 +
|}}<!--
 +
-->{{#if: {{{fields|}}} {{{field|}}}
 +
|;Fields: {{{fields|{{{field}}}}}}
 +
|}}<!--
 +
-->{{#if: {{{institutions|}}} {{{work_institution|}}}
 +
|;Institutions: {{{institutions|{{{work_institution}}}}}}
 +
|}}<!--
 +
-->{{#if: {{{awards|}}}
 +
|;Awards: {{{awards}}}
 +
|}}<!--
 +
-->{{#if: {{{prizes|}}}
 +
|;Prizes: {{{prizes}}}
 +
|}}<!--
 +
-->{{#if: {{{mentors|}}} {{{doctoral_advisor|}}}
 +
|;Mentors: {{{mentors|{{{doctoral_advisor}}}}}}
 +
|}}<!--
 +
-->{{#if: {{{students|}}} {{{doctoral_students|}}}
 +
|;Students: {{{students|{{{doctoral_students}}}}}}
 +
|}}
 +
|}}<!--
 +
SECTION -->{{#if: {{{notes|}}} {{{footnotes|}}}
 +
|<center>'''Notes'''</center>{{{notes|{{{footnotes}}}}}}
 +
|}}
 +
</div><noinclude>
 +
<br clear="both>
 +
 +
==Usage notes==
 +
 +
<pre>
 +
{{Infobox person
 +
|name          =
 +
|image          =
 +
|caption        =
 +
|birth_date    =
 +
|birth_place    =
 +
|birth_place_wp =
 +
|death_date    =
 +
|death_place    =
 +
|death_place_wp =
 +
|nationality    =
 +
|citizenship    =
 +
|father        =
 +
|mother        =
 +
|siblings      =
 +
|spouse        =
 +
|partner        =
 +
|children      =
 +
|known_for      =
 +
|alma_mater    =
 +
|fields        =
 +
|institutions  =
 +
|awards        =
 +
|prizes        =
 +
|mentors        =
 +
|students      =
 +
|notes          =
 +
}}
 +
</pre>
  
{{#if: {{{birth_date|}}} {{{birth_place|}}} |
+
</noinclude>
;Born
 
{{#if: {{{birth_date|}}} |: {{{birth_date}}} |}}
 
{{#if: {{{birth_place|}}} |: {{{birth_place}}} |}}
 
|}}
 
{{#if: {{{death_date|}}} {{{death_place|}}} |
 
;Died
 
{{#if: {{{death_date|}}} |: {{{death_date}}} |}}
 
{{#if: {{{death_place|}}} |: {{{death_place}}} |}}
 
|}}
 
{{#if: {{{citizenship|}}} {{{nationality|}}} |
 
;Citizenship
 
{{#if: {{{nationality|}}} |: {{{nationality}}} |}}
 
{{#if: {{{citizenship|}}} |: {{{citizenship}}} |}}
 
|}}
 
{{#if: {{{alma_mater|}}} |
 
;Alma mater: {{{alma_mater}}}
 
|}}
 
{{#if: {{{known_for|}}} |
 
;Known for: {{{known_for}}}
 
|}}
 
{{#if: {{{awards|}}} |
 
;Awards: {{{awards}}}
 
|}}
 
{{#if: {{{prizes|}}} |
 
;Prizes: {{{prizes}}}
 
|}}
 
{{#if: {{{fields|}}} {{{field|}}} {{{institutions|}}} {{{work_institution|}}} {{{mentors|}}} {{{doctoral_advisor|}}} {{{students|}}} {{{doctoral_students|}}} |
 
<p class="section header">Career</p>
 
{{#if: {{{fields|}}} {{{field|}}} |
 
;Fields: {{{fields|{{{field|}}}}}}
 
|}}
 
{{#if: {{{institutions|}}} {{{work_institution|}}} |
 
;Institutions: {{{institutions|{{{work_institution|}}}}}}
 
|}}
 
{{#if: {{{mentors|}}} {{{doctoral_advisor|}}} |
 
;Mentors: {{{mentors|{{{doctoral_advisor|}}}}}}
 
|}}
 
{{#if: {{{students|}}} {{{doctoral_students|}}} |
 
;Students: {{{students|{{{doctoral_students|}}}}}}
 
|}}
 
|}}<!-- section -->
 
{{#if: {{{footnotes|}}} |
 
<p class="section header">Notes</p>
 
{{{footnotes}}}
 
|}}
 
</div>
 

Latest revision as of 23:40, 16 January 2018

Infobox person


Usage notes

{{Infobox person
|name           = 
|image          = 
|caption        = 
|birth_date     = 
|birth_place    = 
|birth_place_wp = 
|death_date     = 
|death_place    = 
|death_place_wp = 
|nationality    = 
|citizenship    = 
|father         = 
|mother         = 
|siblings       = 
|spouse         = 
|partner        = 
|children       = 
|known_for      = 
|alma_mater     = 
|fields         = 
|institutions   = 
|awards         = 
|prizes         = 
|mentors        = 
|students       = 
|notes          = 
}}