Template:Infobox person: Difference between revisions

Content added Content deleted
(move documentation to /doc subpage, increase table width to 22em - same as Infobox Biography, Actor, Artist, Celebrity, etc.)
(Name defaults to pagename if omitted. Birth_date now optional. Add networth, the only parameter from Infobox Celebrity that isn't already here. Show infobox on this page with all parameters displayed.)
Line 1: Line 1:
{| class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2"
{| class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2"
|-
|-
{{!}} colspan="2" style="font-size: larger; text-align: center;" class="fn" {{!}} '''{{{name}}}'''
| colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{#if: {{{name<includeonly>|</includeonly>}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image|}}}|{{{imagesize|225px}}}| ]]<br />{{{caption|}}}}}
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image}}}|{{{imagesize|225px}}}]]<br/>{{{caption<includeonly>|</includeonly>}}}
}}
|-
|-
{{#if: {{{birth_name<includeonly>|</includeonly>}}} {{{birth_date|}}} {{{birth_place|}}} |
! Born
! Born
| {{#if:{{{birth_name|}}}|{{{birth_name|}}}<br />}} {{{birth_date}}} {{#if:{{{birth_place|}}}|<br />{{{birth_place|}}}}}
{{!}} {{#if:{{{birth_name<includeonly>|</includeonly>}}}|{{{birth_name}}}<br/>}} {{{birth_date<includeonly>|</includeonly>}}} {{#if:{{{birth_place<includeonly>|</includeonly>}}}|<br/>{{{birth_place}}}}}
}}
|-
|-
{{#if: {{{death_date|}}}|
{{#if: {{{death_date<includeonly>|</includeonly>}}} {{{death_place|}}} {{{death_cause|}}} |
! Died
! Died
{{!}} {{{death_date|}}} {{#if:{{{death_place|}}}|<br />{{{death_place}}}}}{{#if:{{{death_cause|}}}|<br />{{{death_cause|}}}}}}}
{{!}} {{{death_date<includeonly>|</includeonly>}}} {{#if:{{{death_place<includeonly>|</includeonly>}}}|<br/>{{{death_place}}}}} {{#if:{{{death_cause<includeonly>|</includeonly>}}}|<br/>{{{death_cause}}}}}
}}
|-
|-
{{#if: {{{residence|}}}|
{{#if: {{{residence<includeonly>|</includeonly>}}} |
! Residence
! Residence
{{!}} {{{residence|}}}}}
{{!}} {{{residence}}}
}}
|-
|-
{{#if: {{{other_names|}}}|
{{#if: {{{other_names<includeonly>|</includeonly>}}} |
! Other names
! Other names
{{!}} <span class="nickname">{{{other_names|}}}</span>}}
{{!}} <span class="nickname">{{{other_names}}}</span>
}}
|-
|-
{{#if: {{{known|}}}|
{{#if: {{{known<includeonly>|</includeonly>}}} |
! Known for
! Known for
{{!}} {{{known|}}}}}
{{!}} {{{known}}}
}}
|-
|-
{{#if: {{{employer|}}}|
{{#if: {{{employer<includeonly>|</includeonly>}}} |
! Employer
! Employer
{{!}} {{{employer|}}}}}
{{!}} {{{employer}}}
}}
|-
|-
{{#if: {{{occupation|}}}|
{{#if: {{{occupation<includeonly>|</includeonly>}}} |
! Occupation
! Occupation
{{!}} {{{occupation|}}}}}
{{!}} {{{occupation}}}
}}
|-
|-
{{#if: {{{title|}}}|
{{#if: {{{title<includeonly>|</includeonly>}}} |
! Title
! Title
{{!}} {{{title|}}}}}
{{!}} {{{title}}}
}}
|-
|-
{{#if: {{{salary|}}}|
{{#if: {{{salary<includeonly>|</includeonly>}}} |
! Salary
! Salary
{{!}} {{{salary|}}}}}
{{!}} {{{salary}}}
}}
|-
|-
{{#if: {{{weight|}}}|
{{#if: {{{networth<includeonly>|</includeonly>}}} |
! Net worth
! Weight
{{!}} {{{weight|}}}}}
{{!}} {{{networth}}}
}}
|-
|-
{{#if: {{{height|}}}|
{{#if: {{{height<includeonly>|</includeonly>}}} |
! Height
! Height
{{!}} {{{height|}}}}}
{{!}} {{{height}}}
}}
|-
{{#if: {{{weight<includeonly>|</includeonly>}}} |
! Weight
{{!}} {{{weight}}}
}}
|-
|-
{{#if: {{{term|}}}|
{{#if: {{{term<includeonly>|</includeonly>}}} |
! Term
! Term
{{!}} {{{term|}}}}}
{{!}} {{{term}}}
}}
|-
|-
{{#if: {{{predecessor|}}}|
{{#if: {{{predecessor<includeonly>|</includeonly>}}} |
! Predecessor
! Predecessor
{{!}} {{{predecessor|}}}}}
{{!}} {{{predecessor}}}
}}
|-
|-
{{#if: {{{successor|}}}|
{{#if: {{{successor<includeonly>|</includeonly>}}} |
! Successor
! Successor
{{!}} {{{successor|}}}}}
{{!}} {{{successor}}}
}}
|-
|-
{{#if: {{{party|}}}|
{{#if: {{{party<includeonly>|</includeonly>}}} |
! Political&nbsp;party
! Political&nbsp;party
{{!}} {{{party|}}}}}
{{!}} {{{party}}}
}}
|-
|-
{{#if: {{{boards|}}}|
{{#if: {{{boards<includeonly>|</includeonly>}}} |
! Boards on
! Boards on
{{!}} {{{boards|}}}}}
{{!}} {{{boards}}}
}}
|-
|-
{{#if: {{{religion|}}}|
{{#if: {{{religion<includeonly>|</includeonly>}}} |
! Religious&nbsp;belief
! Religious&nbsp;belief
{{!}} {{{religion|}}}}}
{{!}} {{{religion}}}
}}
|-
|-
{{#if: {{{spouse|}}}|
{{#if: {{{spouse<includeonly>|</includeonly>}}} |
! Spouse
! Spouse
{{!}} {{{spouse|}}}}}
{{!}} {{{spouse}}}
}}
|-
|-
{{#if: {{{partner|}}}|
{{#if: {{{partner<includeonly>|</includeonly>}}} |
! Partner
! Partner
{{!}} {{{partner|}}}}}
{{!}} {{{partner}}}
}}
|-
|-
{{#if: {{{children|}}}|
{{#if: {{{children<includeonly>|</includeonly>}}} |
! Children
! Children
{{!}} {{{children|}}}}}
{{!}} {{{children}}}
}}
|-
|-
{{#if: {{{parents|}}}|
{{#if: {{{parents<includeonly>|</includeonly>}}} |
! Parents
! Parents
{{!}} {{{parents|}}}}}
{{!}} {{{parents}}}
}}
|-
|-
{{#if: {{{relations|}}}|
{{#if: {{{relations<includeonly>|</includeonly>}}} |
! Relations
! Relations
{{!}} {{{relations|}}}}}
{{!}} {{{relations}}}
}}
|-
|-
{{#if: {{{website|}}}|
{{#if: {{{website<includeonly>|</includeonly>}}} |
! Website
! Website
{{!}} {{{website|}}}}}
{{!}} {{{website}}}
}}
|-
|-
{{#if: {{{footnotes|}}}|
{{#if: {{{footnotes<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}}}
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes}}}
}}
|}<noinclude>
|}<noinclude>