Difference between revisions of "Template:Infobox person"
From maurer
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox" style="width: | + | <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;"> |
− | <center>'''{{{name|{{PAGENAME}}}}}'''{{#if: {{{image|}}} | + | <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|}}} |
− | |}}</ | + | |<div style="margin:0 -1ch; padding:0;">[[File:{{{image}}}|272x544px]]</div>{{#if: {{{caption|}}} |
− | + | |<div style="font-size:smaller;">{{{caption}}}</div> | |
− | + | |}} | |
+ | |}}</div><!-- | ||
birth_name | birth_name | ||
other_names | other_names | ||
Line 10: | Line 11: | ||
years_active | years_active | ||
notable_works | notable_works | ||
− | resting_place burial_place | + | resting_place |
+ | burial_place | ||
residence | residence | ||
education | education | ||
Line 22: | Line 24: | ||
{{#if: {{{birth_place|}}} {{{birth_place_wp|}}} | {{#if: {{{birth_place|}}} {{{birth_place_wp|}}} | ||
|: {{#if: {{{birth_place_wp|}}} | |: {{#if: {{{birth_place_wp|}}} | ||
− | | | + | | {{wp|{{{birth_place_wp}}}|{{{birth_place|{{{birth_place_wp}}}}}}}} |
| {{{birth_place}}} | | {{{birth_place}}} | ||
}} | }} | ||
|}} | |}} | ||
− | |}} | + | |}}<!-- |
− | {{#if: {{{death_date|}}} {{{death_place|}}} {{{death_place_wp|}}} | + | -->{{#if: {{{death_date|}}} {{{death_place|}}} {{{death_place_wp|}}} |
|;Died | |;Died | ||
{{#if: {{{death_date|}}} | {{#if: {{{death_date|}}} | ||
Line 34: | Line 36: | ||
{{#if: {{{death_place|}}} {{{death_place_wp|}}} | {{#if: {{{death_place|}}} {{{death_place_wp|}}} | ||
|: {{#if: {{{death_place_wp|}}} | |: {{#if: {{{death_place_wp|}}} | ||
− | | | + | | {{wp|{{{death_place_wp}}}|{{{death_place|{{{death_place_wp}}}}}}}} |
| {{{death_place}}} | | {{{death_place}}} | ||
}} | }} | ||
|}} | |}} | ||
− | |}} | + | |}}<!-- |
− | {{#if: {{{nationality|}}} | + | -->{{#if: {{{nationality|}}} |
|;Nationality: {{{nationality}}} | |;Nationality: {{{nationality}}} | ||
− | |}} | + | |}}<!-- |
− | {{#if: {{{citizenship|}}} | + | -->{{#if: {{{citizenship|}}} |
|;Citizenship: {{{citizenship}}} | |;Citizenship: {{{citizenship}}} | ||
+ | |}}<!-- | ||
+ | SECTION -->{{#if: {{{father|}}} {{{mother|}}} {{{siblings|}}} {{{spouse|}}} {{{partner|}}} {{{children|}}} | ||
+ | | | ||
+ | |||
+ | <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}}} | ||
|}} | |}} | ||
− | {{#if: {{{alma_mater|}}} | + | |}}<!-- |
+ | SECTION -->{{#if: {{{known_for|}}} {{{alma_mater|}}} {{{awards|}}} {{{prizes|}}} {{{fields|{{{field|}}}}}} {{{institutions|{{{work_institution|}}}}}} {{{mentors|{{{doctoral_advisor|}}}}}} {{{students|{{{doctoral_students|}}}}}} | ||
+ | | | ||
+ | |||
+ | <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}}} | |;Alma mater: {{{alma_mater}}} | ||
− | |}} | + | |}}<!-- |
− | <!-- | + | -->{{#if: {{{fields|}}} {{{field|}}} |
− | + | |;Fields: {{{fields|{{{field}}}}}} | |
− | {{#if: {{{awards|}}} | + | |}}<!-- |
+ | -->{{#if: {{{institutions|}}} {{{work_institution|}}} | ||
+ | |;Institutions: {{{institutions|{{{work_institution}}}}}} | ||
+ | |}}<!-- | ||
+ | -->{{#if: {{{awards|}}} | ||
|;Awards: {{{awards}}} | |;Awards: {{{awards}}} | ||
− | |}} | + | |}}<!-- |
− | {{#if: {{{prizes|}}} | + | -->{{#if: {{{prizes|}}} |
|;Prizes: {{{prizes}}} | |;Prizes: {{{prizes}}} | ||
− | |}} | + | |}}<!-- |
− | + | -->{{#if: {{{mentors|}}} {{{doctoral_advisor|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{mentors|}}} {{{doctoral_advisor|}}} | ||
|;Mentors: {{{mentors|{{{doctoral_advisor}}}}}} | |;Mentors: {{{mentors|{{{doctoral_advisor}}}}}} | ||
− | |}} | + | |}}<!-- |
− | {{#if: {{{students|}}} {{{doctoral_students|}}} | + | -->{{#if: {{{students|}}} {{{doctoral_students|}}} |
|;Students: {{{students|{{{doctoral_students}}}}}} | |;Students: {{{students|{{{doctoral_students}}}}}} | ||
|}} | |}} | ||
− | |}} | + | |}}<!-- |
− | <!-- SECTION -->{{#if: {{{notes|}}} {{{footnotes|}}} | + | SECTION -->{{#if: {{{notes|}}} {{{footnotes|}}} |
|<center>'''Notes'''</center>{{{notes|{{{footnotes}}}}}} | |<center>'''Notes'''</center>{{{notes|{{{footnotes}}}}}} | ||
|}} | |}} | ||
− | </div> | + | </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> | ||
+ | |||
+ | </noinclude> |
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 = }}