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...")
 
Line 1: Line 1:
<div class="infobox">
+
<div class="infobox" style="width:256px; 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>
+
<center>'''{{{name|{{PAGENAME}}}}}'''{{#if: {{{image|•}}}
<!--
+
|<br>[[File:{{{image|hess-orvan-lancet-2002.jpg}}}|{{{image_size|250x500px}}}]]<br><small>{{{caption|CAPTION}}}</small>
[[File:{{{image|}}}|{{{image_size|}}}|{{{caption|}}}]]
+
|}}</center><!--
-->
 
 
{{{alt|}}}
 
{{{alt|}}}
  
Line 16: Line 15:
 
employer
 
employer
 
organization
 
organization
 
+
-->{{#if: {{{birth_date|}}} {{{birth_place|}}}
{{#if: {{{birth_date|}}} {{{birth_place|}}} |
+
|;Born
;Born
+
{{#if: {{{birth_date|}}}
{{#if: {{{birth_date|}}} |: {{{birth_date}}} |}}
+
  |: {{{birth_date}}}
{{#if: {{{birth_place|}}} |: {{{birth_place}}} |}}
+
  |}}
|}}
+
{{#if: {{{birth_place|}}} {{{birth_place_wp|}}}
{{#if: {{{death_date|}}} {{{death_place|}}} |
+
  |: {{#if: {{{birth_place_wp|}}}
;Died
+
    | [[wikipedia:{{{birth_place_wp}}}{{!}}{{{birth_place|{{{birth_place_wp}}}}}}]]
{{#if: {{{death_date|}}} |: {{{death_date}}} |}}
+
    | {{{birth_place}}}
{{#if: {{{death_place|}}} |: {{{death_place}}} |}}
+
    }}
|}}
+
  |}}
{{#if: {{{citizenship|}}} {{{nationality|}}} |
+
|}}
;Citizenship
+
{{#if: {{{death_date|}}} {{{death_place|}}} {{{death_place_wp|}}}
{{#if: {{{nationality|}}} |: {{{nationality}}} |}}
+
|;Died
{{#if: {{{citizenship|}}} |: {{{citizenship}}} |}}
+
{{#if: {{{death_date|}}}
|}}
+
  |: {{{death_date}}}
{{#if: {{{alma_mater|}}} |
+
  |}}
;Alma mater: {{{alma_mater}}}
+
{{#if: {{{death_place|}}} {{{death_place_wp|}}}
|}}
+
  |: {{#if: {{{death_place_wp|}}}
{{#if: {{{known_for|}}} |
+
    | [[wikipedia:{{{death_place_wp}}}{{!}}{{{death_place|{{{death_place_wp}}}}}}]]
;Known for: {{{known_for}}}
+
    | {{{death_place}}}
|}}
+
    }}
{{#if: {{{awards|}}} |
+
  |}}
;Awards: {{{awards}}}
+
|}}
|}}
+
{{#if: {{{nationality|}}}
{{#if: {{{prizes|}}} |
+
|;Nationality: {{{nationality}}}
;Prizes: {{{prizes}}}
+
|}}
|}}
+
{{#if: {{{citizenship|}}}
{{#if: {{{fields|}}} {{{field|}}} {{{institutions|}}} {{{work_institution|}}} {{{mentors|}}} {{{doctoral_advisor|}}} {{{students|}}} {{{doctoral_students|}}} |
+
|;Citizenship: {{{citizenship}}}
<p class="section header">Career</p>
+
|}}
{{#if: {{{fields|}}} {{{field|}}} |
+
{{#if: {{{alma_mater|}}}
;Fields: {{{fields|{{{field|}}}}}}
+
|;Alma mater: {{{alma_mater}}}
|}}
+
|}}
{{#if: {{{institutions|}}} {{{work_institution|}}} |
+
<!-- SECTION -->{{#if: {{{known_for|}}} {{{alma_mater|}}} {{{awards|}}} {{{prizes|}}} {{{fields|{{{field|}}}}}} {{{institutions|{{{work_institution|}}}}}} {{{mentors|{{{doctoral_advisor|}}}}}} {{{students|{{{doctoral_students|}}}}}} |
;Institutions: {{{institutions|{{{work_institution|}}}}}}
+
<center>'''Known for'''</center>{{{known_for}}}
|}}
+
{{#if: {{{awards|•}}}
{{#if: {{{mentors|}}} {{{doctoral_advisor|}}} |
+
|;Awards: {{{awards}}}
;Mentors: {{{mentors|{{{doctoral_advisor|}}}}}}
+
|}}
|}}
+
{{#if: {{{prizes|•}}}
{{#if: {{{students|}}} {{{doctoral_students|}}} |
+
|;Prizes: {{{prizes}}}
;Students: {{{students|{{{doctoral_students|}}}}}}
+
|}}
|}}
+
{{#if: {{{fields|}}} {{{field|}}}
|}}<!-- section -->
+
|;Fields: {{{fields|{{{field}}}}}}
{{#if: {{{footnotes|}}} |
+
|}}
<p class="section header">Notes</p>
+
{{#if: {{{institutions|}}} {{{work_institution|}}}
{{{footnotes}}}
+
|;Institutions: {{{institutions|{{{work_institution}}}}}}
 +
|}}
 +
{{#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>
 
</div>

Revision as of 00:07, 9 January 2018

Infobox person
Hess-orvan-lancet-2002.jpg
CAPTION
Born
{{{birth_date}}}
{{{birth_place}}}
Died
{{{death_date}}}
{{{death_place}}}
Nationality
{{{nationality}}}
Citizenship
{{{citizenship}}}
Alma mater
{{{alma_mater}}}
Known for
{{{known_for}}}
Awards
{{{awards}}}
Prizes
{{{prizes}}}
Fields
{{{field}}}
Institutions
{{{work_institution}}}
Mentors
{{{doctoral_advisor}}}
Students
{{{doctoral_students}}}
Notes
{{{footnotes}}}