Difference between revisions of "Template:Infobox person"
From maurer
(7 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 12: | Line 11: | ||
years_active | years_active | ||
notable_works | notable_works | ||
− | resting_place burial_place | + | resting_place |
+ | burial_place | ||
residence | residence | ||
education | education | ||
Line 24: | 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}}} | ||
}} | }} | ||
Line 36: | 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}}} | ||
}} | }} | ||
Line 47: | Line 47: | ||
|;Citizenship: {{{citizenship}}} | |;Citizenship: {{{citizenship}}} | ||
|}}<!-- | |}}<!-- | ||
− | |||
− | |||
− | |||
SECTION -->{{#if: {{{father|}}} {{{mother|}}} {{{siblings|}}} {{{spouse|}}} {{{partner|}}} {{{children|}}} | 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|}}} | {{#if: {{{father|}}} | ||
|;Father: {{{father}}} | |;Father: {{{father}}} | ||
Line 74: | Line 71: | ||
|}}<!-- | |}}<!-- | ||
SECTION -->{{#if: {{{known_for|}}} {{{alma_mater|}}} {{{awards|}}} {{{prizes|}}} {{{fields|{{{field|}}}}}} {{{institutions|{{{work_institution|}}}}}} {{{mentors|{{{doctoral_advisor|}}}}}} {{{students|{{{doctoral_students|}}}}}} | 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|}}} | {{#if: {{{known_for|}}} | ||
|{{{known_for}}} | |{{{known_for}}} | ||
+ | |}}<!-- | ||
+ | -->{{#if: {{{alma_mater|}}} | ||
+ | |;Alma mater: {{{alma_mater}}} | ||
|}}<!-- | |}}<!-- | ||
-->{{#if: {{{fields|}}} {{{field|}}} | -->{{#if: {{{fields|}}} {{{field|}}} | ||
Line 102: | Line 102: | ||
|<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 = }}