Difference between revisions of "Template:Infobox person"
Jump to navigation
Jump to search
imported>Riana ({{pp-template}}) |
imported>Sardanaphalus (line-heights (otherwise wrapped lines spaced to look like separate entries), code: realigning {{#if:}} start/end parentheses (also makes seeing each entry easier), <includeonly>s) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{pp-semi-template|small=yes}}{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude> | + | <noinclude>{{pp-semi-template|small=yes}}{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!-- |
| − | + | ||
| − | <tr><th colspan="2" style="text-align:center; font-size: | + | --><table class="infobox biography vcard" style="width:{{#if:{{{box_width|}}} |{{{box_width|}}} |22em}}; font-size:90%; text-align:left;" cellspacing="2"> |
| − | {{ | + | <tr><th colspan="2" style="text-align:center; font-size:115%;" class="fn">{{{name|{{PAGENAME}}}}}<!-- |
| − | #if: {{{image|}}} | | + | -->{{#if:{{{image<includeonly>|</includeonly>}}} | |
| − | <tr><td colspan="2" style="font-size:8pt;text-align:center;padding:4pt;line-height:1.25em"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if: {{{image_size|{{{imagesize|}}}}}} | {{{image_size|{{{imagesize}}}}}} | 225px}}|]]< | + | <tr><td colspan="2" style="font-size:8pt; text-align:center; padding:4pt; line-height:1.25em;"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}} |{{{image_size|{{{imagesize}}}}}} |225px}}|]]<div style="padding-top:2pt;">{{{caption<includeonly>|</includeonly>}}}</div><!-- |
| − | }}{{ | + | -->}}<!-- |
| − | #if: {{{birth_name|}}} {{{birth_date|}}} {{{birth_place|}}} | | + | -->{{#if:{{{birth_name|}}} {{{birth_date<includeonly>|</includeonly>}}} {{{birth_place<includeonly>|</includeonly>}}} | |
| − | <tr><th>Born<td>{{ | + | <tr><th>Born<td style="line-height:1.4em;">{{#if:{{{birth_name|}}} |{{{birth_name}}}<br />}} {{#if:{{{birth_date<includeonly>|</includeonly>}}} |{{{birth_date}}}<br />}}{{{birth_place<includeonly>|</includeonly>}}}<!-- |
| − | #if: {{{birth_name|}}} | | + | -->}}<!-- |
| − | {{{birth_name}}}<br /> | + | -->{{#if:{{{death_date<includeonly>|</includeonly>}}} {{{death_place<includeonly>|</includeonly>}}} {{{death_cause|}}} | |
| − | }}{{ | + | <tr><th>Died<td style="line-height:1.4em;">{{#if:{{{death_date<includeonly>|</includeonly>}}} |{{{death_date}}}<br />}}{{#if:{{{death_place<includeonly>|</includeonly>}}} |{{{death_place}}}<br />}}{{{death_cause|}}}<!-- |
| − | #if: {{{birth_date|}}} | | + | -->}}<!-- |
| − | {{{birth_date}}}<br /> | + | -->{{#if:{{{resting_place|}}} | |
| − | }}{{{birth_place|}}} | + | <tr><th>Resting place<td style="line-height:1.4em;"><span class="label">{{{resting_place}}}</span>{{#if:{{{resting_place_coordinates|}}} |<br />{{{resting_place_coordinates}}} }}<!-- |
| − | }}{{ | + | -->}}<!-- |
| − | #if: {{{death_date|}}} {{{death_place|}}} {{{death_cause|}}} | | + | -->{{#if:{{{residence|}}} | |
| − | <tr><th>Died<td>{{ | + | <tr><th>Residence<td style="line-height:1.4em;"><span class="label">{{{residence}}}</span><!-- |
| − | #if: {{{death_date|}}} | | + | -->}}<!-- |
| − | {{{death_date}}}<br /> | + | -->{{#if:{{{nationality<includeonly>|</includeonly>}}} | |
| − | }}{{ | + | <tr><th>Nationality<td style="line-height:1.4em;">{{{nationality}}}<!-- |
| − | #if: {{{death_place|}}} | | + | -->}}<!-- |
| − | {{{death_place}}}<br /> | + | -->{{#if:{{{other_names<includeonly>|</includeonly>}}} | |
| − | }}{{{death_cause|}}} | + | <tr><th>Other names<td style="line-height:1.4em;"><span class="nickname">{{{other_names}}}</span><!-- |
| − | }}{{ | + | -->}}<!-- |
| − | #if: {{{resting_place|}}} | | + | -->{{#if:{{{education|}}} | |
| − | <tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{ | + | <tr><th>Education<td style="line-height:1.4em;">{{{education}}}<!-- |
| − | #if: {{{resting_place_coordinates|}}} | | + | -->}}<!-- |
| − | <br />{{{resting_place_coordinates}}} }} | + | {{#if:{{{employer|}}} | |
| − | }}{{ | + | <tr><th>Employer<td style="line-height:1.4em;">{{{employer}}}<!-- |
| − | #if: {{{residence|}}} | | + | -->}}<!-- |
| − | <tr><th>Residence<td | + | -->{{#if:{{{occupation<includeonly>|</includeonly>}}} | |
| − | }}{{ | + | <tr><th>Occupation<td style="line-height:1.4em;">{{{occupation}}}<!-- |
| − | #if: {{{nationality| | + | -->}}<!-- |
| − | <tr><th>Nationality<td>{{{nationality}}} | + | -->{{#if:{{{home_town|}}} | |
| − | }}{{ | + | <tr><th>Home town<td style="line-height:1.4em;">{{{home_town}}}<!-- |
| − | #if: {{{other_names|}}} | | + | -->}}<!-- |
| − | <tr><th>Other names<td><span class="nickname">{{{other_names}}}</span> | + | -->{{#if: {{{title|}}} | |
| − | }}{{ | + | <tr><th>Title<td style="line-height:1.4em;">{{{title}}}<!-- |
| − | #if: {{{education|}}} | | + | -->}}<!-- |
| − | <tr><th>Education<td>{{{education}}} | + | {{#if:{{{salary|}}} | |
| − | }}{{ | + | <tr><th>Salary<td style="line-height:1.4em;">{{{salary}}}<!-- |
| − | #if: {{{employer|}}} | | + | -->}}<!-- |
| − | <tr><th>Employer<td | + | {{#if:{{{networth|}}} | |
| − | }}{{ | + | <tr><th>Net worth<td style="line-height:1.4em;">{{{networth}}}<!-- |
| − | #if: {{{occupation| | + | -->}}<!-- |
| − | <tr><th>Occupation<td>{{{occupation}}} | + | -->{{#if:{{{height|}}} | |
| − | }}{{ | + | <tr><th>Height<td style="line-height:1.4em;">{{{height}}}<!-- |
| − | #if: {{{home_town|}}} | | + | -->}}<!-- |
| − | <tr><th> | + | -->{{#if:{{{weight|}}} | |
| − | }}{{ | + | <tr><th>Weight<td style="line-height:1.4em;">{{{weight}}}<!-- |
| − | #if: {{{title|}}} | | + | -->}}<!-- |
| − | <tr><th>Title<td | + | -->{{#if:{{{known|{{{known_for<includeonly>|</includeonly>}}}}}} | |
| − | }}{{ | + | <tr><th>Known for<td style="line-height:1.4em;">{{{known|{{{known_for}}}}}}<!-- |
| − | #if: {{{salary|}}} | | + | -->}}<!-- |
| − | <tr><th>Salary<td | + | -->{{#if:{{{term|}}} | |
| − | }}{{ | + | <tr><th>Term<td style="line-height:1.4em;">{{{term}}}<!-- |
| − | #if: {{{networth|}}} | | + | -->}}<!-- |
| − | <tr><th>Net worth<td | + | -->{{#if:{{{predecessor|}}} | |
| − | }}{{ | + | <tr><th>Predecessor<td style="line-height:1.4em;">{{{predecessor}}}<!-- |
| − | #if: {{{height|}}} | | + | -->}}<!-- |
| − | <tr><th>Height<td | + | -->{{#if:{{{successor|}}} | |
| − | }}{{ | + | <tr><th>Successor<td style="line-height:1.4em;">{{{successor}}}<!-- |
| − | #if: {{{weight|}}} | | + | -->}}<!-- |
| − | <tr><th>Weight<td | + | -->{{#if:{{{party|}}} | |
| − | }}{{ | + | <tr><th>Political party<td style="line-height:1.4em;">{{{party}}}<!-- |
| − | #if: {{{known|{{{known_for| | + | -->}}<!-- |
| − | <tr><th>Known for<td>{{{known|{{{known_for}}}}}} | + | -->{{#if:{{{boards|}}} | |
| − | }}{{ | + | <tr><th>Boards on<td style="line-height:1.4em;">{{{boards}}}<!-- |
| − | #if: {{{term|}}} | | + | -->}}<!-- |
| − | <tr><th>Term<td>{{{term}}} | + | -->{{#if:{{{religion|}}} | |
| − | }}{{ | + | <tr><th>Religious beliefs<td style="line-height:1.4em;">{{{religion}}}<!-- |
| − | #if: {{{predecessor|}}} | | + | -->}}<!-- |
| − | <tr><th>Predecessor<td | + | -->{{#if:{{{spouse|}}} | |
| − | }}{{ | + | <tr><th>Spouse<td style="line-height:1.4em;">{{{spouse}}}<!-- |
| − | #if: {{{successor|}}} | | + | -->}}<!-- |
| − | <tr><th>Successor<td | + | -->{{#if:{{{partner|}}} | |
| − | }}{{ | + | <tr><th>Partner<td style="line-height:1.4em;">{{{partner}}}<!-- |
| − | #if: {{{party|}}} | | + | -->}}<!-- |
| − | <tr><th>Political party<td | + | -->{{#if:{{{children|}}} | |
| − | }}{{ | + | <tr><th>Children<td style="line-height:1.4em;">{{{children}}}<!-- |
| − | #if: {{{boards|}}} | | + | -->}}<!-- |
| − | <tr><th>Boards on<td | + | -->{{#if:{{{parents|}}} | |
| − | }}{{ | + | <tr><th>Parents<td style="line-height:1.4em;">{{{parents}}}<!-- |
| − | #if: {{{religion|}}} | | + | -->}}<!-- |
| − | <tr><th>Religious beliefs<td | + | -->{{#if:{{{relations|}}}{{{relatives|}}} | |
| − | }}{{ | + | <tr><th>Relatives<td style="line-height:1.4em;">{{{relations|{{{relatives}}}}}}<!-- |
| − | #if: {{{spouse|}}} | | + | -->}}<!-- |
| − | <tr><th>Spouse<td | + | -->{{#if:{{{signature|}}} | |
| − | }}{{ | + | <tr><th>Signature<td style="line-height:1.4em;">[[Image:{{{signature}}}|128px]]<!-- |
| − | #if: {{{partner|}}} | | + | -->}}<!-- |
| − | <tr><th>Partner<td | + | -->{{#if:{{{website|}}} | |
| − | }}{{ | + | <tr><th>Website<td style="line-height:1.4em;">{{{website}}}<!-- |
| − | #if: {{{children|}}} | | + | -->}}<!-- |
| − | <tr><th>Children<td | + | -->{{#if:{{{footnotes|}}} | |
| − | }}{{ | + | <tr><td colspan="2" style="border-top:1px solid; line-height:1.2em; font-size:smaller; font-style:italic;">{{{footnotes}}}<!-- |
| − | #if: {{{parents|}}} | | + | -->}}<!-- |
| − | <tr><th>Parents<td | + | --></tr></table><noinclude> |
| − | }}{{ | + | |
| − | #if: {{{relations|}}} {{{relatives|}}} | | + | {{Documentation, template}} <!--allows /doc to display when template code is used in /sandbox--> |
| − | <tr><th>Relatives<td | ||
| − | }}{{ | ||
| − | #if: {{{signature|}}} | | ||
| − | <tr><th>Signature<td | ||
| − | }}{{ | ||
| − | #if: {{{website|}}} | | ||
| − | <tr><th>Website<td | ||
| − | }}{{ | ||
| − | #if: {{{footnotes|}}} | | ||
| − | <tr><td colspan="2" style=" | ||
| − | }}</tr> | ||
| − | </table | ||
| − | {{Documentation, template}}<!--allows /doc to display when template code is used in /sandbox--> | ||
<!-- Please add categories and interwikis to the /doc subpage, not here. --> | <!-- Please add categories and interwikis to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 17:01, 23 February 2008
| Infobox person | |
|---|---|
| [[Image:{{{image}}}|225px|]] {{{caption}}} | |
| Born | {{{birth_date}}} {{{birth_place}}} |
| Died | {{{death_date}}} {{{death_place}}} |
| Nationality | {{{nationality}}} |
| Other names | {{{other_names}}}}} |
| Occupation | {{{occupation}}}}}}} |
| Known for | {{{known_for}}} |