Template:Infobox person: Difference between revisions
Removed temp changes from prior edit. Added alternate parameter names: known_for = known & relatives = relations. |
Add "education", the only parameter from Infobox Biography that isn't already here. Add alternate parameter names from Biography: subject_name=name, image_name=image, date_of_birth=birth_date, etc. |
||
| Line 1: | Line 1: | ||
{| class="infobox biography vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2" | {| class="infobox biography vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2" | ||
|- | |- | ||
| colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{#if: {{{name<includeonly>|</includeonly>}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}} | | colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{#if: {{{subject_name|{{{name<includeonly>|</includeonly>}}}}}} | ||
|'''{{{subject_name|{{{name}}}}}}''' | |||
|'''{{PAGENAME}}''' | |||
}} | |||
|- | |- | ||
{{#if: {{{image<includeonly>|</includeonly>}}} | | {{#if: {{{image_name|{{{image<includeonly>|</includeonly>}}}}}} | | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image}}}|{{{imagesize|225px}}}]]<br/>{{{caption<includeonly>|</includeonly>}}} | {{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image_name|{{{image}}}}}}| {{{image_size|{{{imagesize|225px}}}}}}]]<br/> {{{image_caption|{{{caption<includeonly>|</includeonly>}}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{birth_name<includeonly>|</includeonly>}}} {{{birth_date|}}} {{{birth_place|}}} | | {{#if: {{{birth_name<includeonly>|</includeonly>}}} {{{date_of_birth|{{{birth_date|}}}}}} {{{place_of_birth|{{{birth_place|}}}}}} | | ||
! Born | ! Born | ||
{{!}} {{#if:{{{birth_name<includeonly>|</includeonly>}}}|{{{birth_name}}}<br/>}} {{#if:{{{birth_date<includeonly>|</includeonly>}}}|{{{birth_date}}}<br/>}} {{{birth_place<includeonly>|</includeonly>}}} | {{!}} {{#if:{{{birth_name<includeonly>|</includeonly>}}} | {{{birth_name}}}<br/> }} {{#if:{{{date_of_birth|{{{birth_date<includeonly>|</includeonly>}}}}}} | {{{date_of_birth|{{{birth_date}}}}}}<br/> }} {{{place_of_birth|{{{birth_place<includeonly>|</includeonly>}}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{death_date<includeonly>|</includeonly>}}} {{{death_place|}}} {{{death_cause|}}} | | {{#if:{{{date_of_death|{{{death_date<includeonly>|</includeonly>}}}}}} {{{place_of_death|{{{death_place|}}}}}} {{{death_cause|}}} | | ||
! Died | ! Died | ||
{{!}} {{#if:{{{death_date<includeonly>|</includeonly>}}}|{{{death_date}}}<br/>}} {{#if:{{{death_place<includeonly>|</includeonly>}}}|{{{death_place}}}<br/>}} {{{death_cause<includeonly>|</includeonly>}}} | {{!}} {{#if:{{{date_of_death|{{{death_date<includeonly>|</includeonly>}}}}}} | {{{date_of_death|{{{death_date<includeonly>|</includeonly>}}}}}}<br/> }} {{#if:{{{place_of_death|{{{death_place<includeonly>|</includeonly>}}}}}} | {{{place_of_death|{{{death_place<includeonly>|</includeonly>}}}}}}<br/> }} {{{death_cause<includeonly>|</includeonly>}}} | ||
}} | }} | ||
|- | |- | ||
| Line 30: | Line 33: | ||
! Known for | ! Known for | ||
{{!}} {{{known|{{{known_for}}}}}} | {{!}} {{{known|{{{known_for}}}}}} | ||
}} | |||
|- | |||
{{#if: {{{education<includeonly>|</includeonly>}}} | | |||
! Education | |||
{{!}} {{{education}}} | |||
}} | }} | ||
|- | |- | ||