Difference between revisions of "Template:Infobox person"
Jump to navigation
Jump to search
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) |
imported>Sardanaphalus (Undid revision 193494853 by Sardanaphalus (talk)) |
||
| 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> |
| − | + | <includeonly><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:larger;" class="fn">{{{name|{{PAGENAME}}}}} | |
| − | <tr><th colspan="2" style="text-align:center; font-size: | + | {{ |
| − | + | #if: {{{image|}}} | | |
| − | <tr><td colspan="2" style="font-size:8pt; text-align:center; padding:4pt; line-height:1.25em | + | <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}}|]]<br />{{{caption|}}} |
| − | + | }}{{ | |
| − | + | #if: {{{birth_name|}}} {{{birth_date|}}} {{{birth_place|}}} | | |
| − | <tr><th>Born<td | + | <tr><th>Born<td>{{ |
| − | + | #if: {{{birth_name|}}} | | |
| − | + | {{{birth_name}}}<br /> | |
| − | <tr><th>Died<td | + | }}{{ |
| − | + | #if: {{{birth_date|}}} | | |
| − | + | {{{birth_date}}}<br /> | |
| − | <tr><th>Resting place<td | + | }}{{{birth_place|}}} |
| − | + | }}{{ | |
| − | + | #if: {{{death_date|}}} {{{death_place|}}} {{{death_cause|}}} | | |
| − | <tr><th>Residence<td | + | <tr><th>Died<td>{{ |
| − | + | #if: {{{death_date|}}} | | |
| − | + | {{{death_date}}}<br /> | |
| − | <tr><th>Nationality<td | + | }}{{ |
| − | + | #if: {{{death_place|}}} | | |
| − | + | {{{death_place}}}<br /> | |
| − | <tr><th>Other names<td | + | }}{{{death_cause|}}} |
| − | + | }}{{ | |
| − | + | #if: {{{resting_place|}}} | | |
| − | <tr><th>Education<td | + | <tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{ |
| − | + | #if: {{{resting_place_coordinates|}}} | | |
| − | {{#if:{{{employer|}}} | | + | <br />{{{resting_place_coordinates}}} }} |
| − | <tr><th>Employer<td | + | }}{{ |
| − | + | #if: {{{residence|}}} | | |
| − | + | <tr><th>Residence<td><span class="label">{{{residence}}}</span> | |
| − | <tr><th>Occupation<td | + | }}{{ |
| − | + | #if: {{{nationality|}}} | | |
| − | + | <tr><th>Nationality<td>{{{nationality}}} | |
| − | <tr><th> | + | }}{{ |
| − | + | #if: {{{other_names|}}} | | |
| − | + | <tr><th>Other names<td><span class="nickname">{{{other_names}}}</span> | |
| − | <tr><th>Title<td | + | }}{{ |
| − | + | #if: {{{education|}}} | | |
| − | {{#if:{{{salary|}}} | | + | <tr><th>Education<td>{{{education}}} |
| − | <tr><th>Salary<td | + | }}{{ |
| − | + | #if: {{{employer|}}} | | |
| − | {{#if:{{{networth|}}} | | + | <tr><th>Employer<td>{{{employer}}} |
| − | <tr><th>Net worth<td | + | }}{{ |
| − | + | #if: {{{occupation|}}} | | |
| − | + | <tr><th>Occupation<td>{{{occupation}}} | |
| − | <tr><th>Height<td | + | }}{{ |
| − | + | #if: {{{home_town|}}} | | |
| − | + | <tr><th>Hometown<td>{{{home_town}}} | |
| − | <tr><th>Weight<td | + | }}{{ |
| − | + | #if: {{{title|}}} | | |
| − | + | <tr><th>Title<td>{{{title}}} | |
| − | <tr><th>Known for<td | + | }}{{ |
| − | + | #if: {{{salary|}}} | | |
| − | + | <tr><th>Salary<td>{{{salary}}} | |
| − | <tr><th>Term<td | + | }}{{ |
| − | + | #if: {{{networth|}}} | | |
| − | + | <tr><th>Net worth<td>{{{networth}}} | |
| − | <tr><th>Predecessor<td | + | }}{{ |
| − | + | #if: {{{height|}}} | | |
| − | + | <tr><th>Height<td>{{{height}}} | |
| − | <tr><th>Successor<td | + | }}{{ |
| − | + | #if: {{{weight|}}} | | |
| − | + | <tr><th>Weight<td>{{{weight}}} | |
| − | <tr><th>Political party<td | + | }}{{ |
| − | + | #if: {{{known|{{{known_for|}}}}}} | | |
| − | + | <tr><th>Known for<td>{{{known|{{{known_for}}}}}} | |
| − | <tr><th>Boards on<td | + | }}{{ |
| − | + | #if: {{{term|}}} | | |
| − | + | <tr><th>Term<td>{{{term}}} | |
| − | <tr><th>Religious beliefs<td | + | }}{{ |
| − | + | #if: {{{predecessor|}}} | | |
| − | + | <tr><th>Predecessor<td>{{{predecessor}}} | |
| − | <tr><th>Spouse<td | + | }}{{ |
| − | + | #if: {{{successor|}}} | | |
| − | + | <tr><th>Successor<td>{{{successor}}} | |
| − | <tr><th>Partner<td | + | }}{{ |
| − | + | #if: {{{party|}}} | | |
| − | + | <tr><th>Political party<td>{{{party}}} | |
| − | <tr><th>Children<td | + | }}{{ |
| − | + | #if: {{{boards|}}} | | |
| − | + | <tr><th>Boards on<td>{{{boards}}} | |
| − | <tr><th>Parents<td | + | }}{{ |
| − | + | #if: {{{religion|}}} | | |
| − | + | <tr><th>Religious beliefs<td>{{{religion}}} | |
| − | <tr><th>Relatives<td | + | }}{{ |
| − | + | #if: {{{spouse|}}} | | |
| − | + | <tr><th>Spouse<td>{{{spouse}}} | |
| − | <tr><th>Signature<td | + | }}{{ |
| − | + | #if: {{{partner|}}} | | |
| − | + | <tr><th>Partner<td>{{{partner}}} | |
| − | <tr><th>Website<td | + | }}{{ |
| − | + | #if: {{{children|}}} | | |
| − | + | <tr><th>Children<td>{{{children}}} | |
| − | <tr><td colspan="2" style=" | + | }}{{ |
| − | + | #if: {{{parents|}}} | | |
| − | + | <tr><th>Parents<td>{{{parents}}} | |
| − | + | }}{{ | |
| − | {{Documentation, template}} <!--allows /doc to display when template code is used in /sandbox--> | + | #if: {{{relations|}}} {{{relatives|}}} | |
| + | <tr><th>Relatives<td>{{{relations|{{{relatives}}}}}} | ||
| + | }}{{ | ||
| + | #if: {{{signature|}}} | | ||
| + | <tr><th>Signature<td>[[Image:{{{signature}}}|128px]] | ||
| + | }}{{ | ||
| + | #if: {{{website|}}} | | ||
| + | <tr><th>Website<td>{{{website}}} | ||
| + | }}{{ | ||
| + | #if: {{{footnotes|}}} | | ||
| + | <tr><td colspan="2" style="font-size: smaller; font-style: italic; border-top: 1px solid;">{{{footnotes}}} | ||
| + | }}</tr> | ||
| + | </table></includeonly><noinclude> | ||
| + | {{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> | ||