Template:Infobox person: Difference between revisions
Content added Content deleted
({{pp-template}}) |
(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><!-- |
||
<includeonly><table class="infobox biography vcard" style="width:{{#if: {{{box_width|}}} | {{{box_width|}}} | 22em}}; font-size:90%; text-align: left;" cellspacing="2"> |
|||
--><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:115%;" class="fn">{{{name|{{PAGENAME}}}}}<!-- |
|||
{{ |
|||
#if: |
-->{{#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: |
<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: |
-->{{#if:{{{birth_name|}}} {{{birth_date<includeonly>|</includeonly>}}} {{{birth_place<includeonly>|</includeonly>}}} | |
||
<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>}}}<!-- |
|||
<tr><th>Born<td>{{ |
|||
-->}}<!-- |
|||
#if: {{{birth_name|}}} | |
|||
-->{{#if:{{{death_date<includeonly>|</includeonly>}}} {{{death_place<includeonly>|</includeonly>}}} {{{death_cause|}}} | |
|||
{{{birth_name}}}<br /> |
|||
<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|}}} | |
|||
-->{{#if:{{{resting_place|}}} | |
|||
{{{birth_date}}}<br /> |
|||
<tr><th>Resting place<td style="line-height:1.4em;"><span class="label">{{{resting_place}}}</span>{{#if:{{{resting_place_coordinates|}}} |<br />{{{resting_place_coordinates}}} }}<!-- |
|||
}}{{{birth_place|}}} |
|||
}} |
-->}}<!-- |
||
-->{{#if:{{{residence|}}} | |
|||
#if: {{{death_date|}}} {{{death_place|}}} {{{death_cause|}}} | |
|||
<tr><th>Residence<td style="line-height:1.4em;"><span class="label">{{{residence}}}</span><!-- |
|||
<tr><th>Died<td>{{ |
|||
-->}}<!-- |
|||
#if: {{{death_date|}}} | |
|||
-->{{#if:{{{nationality<includeonly>|</includeonly>}}} | |
|||
{{{death_date}}}<br /> |
|||
<tr><th>Nationality<td style="line-height:1.4em;">{{{nationality}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{death_place|}}} | |
|||
-->{{#if:{{{other_names<includeonly>|</includeonly>}}} | |
|||
{{{death_place}}}<br /> |
|||
<tr><th>Other names<td style="line-height:1.4em;"><span class="nickname">{{{other_names}}}</span><!-- |
|||
}}{{{death_cause|}}} |
|||
}} |
-->}}<!-- |
||
#if: |
-->{{#if:{{{education|}}} | |
||
<tr><th> |
<tr><th>Education<td style="line-height:1.4em;">{{{education}}}<!-- |
||
-->}}<!-- |
|||
#if: {{{resting_place_coordinates|}}} | |
|||
{{#if:{{{employer|}}} | |
|||
<br />{{{resting_place_coordinates}}} }} |
|||
<tr><th>Employer<td style="line-height:1.4em;">{{{employer}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{residence|}}} | |
|||
-->{{#if:{{{occupation<includeonly>|</includeonly>}}} | |
|||
<tr><th>Residence<td><span class="label">{{{residence}}}</span> |
|||
<tr><th>Occupation<td style="line-height:1.4em;">{{{occupation}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{nationality|}}} | |
|||
-->{{#if:{{{home_town|}}} | |
|||
<tr><th>Nationality<td>{{{nationality}}} |
|||
<tr><th>Home town<td style="line-height:1.4em;">{{{home_town}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{other_names|}}} | |
|||
-->{{#if: {{{title|}}} | |
|||
<tr><th>Other names<td><span class="nickname">{{{other_names}}}</span> |
|||
<tr><th>Title<td style="line-height:1.4em;">{{{title}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{education|}}} | |
|||
{{#if:{{{salary|}}} | |
|||
<tr><th>Education<td>{{{education}}} |
|||
<tr><th>Salary<td style="line-height:1.4em;">{{{salary}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{employer|}}} | |
|||
{{#if:{{{networth|}}} | |
|||
<tr><th>Employer<td>{{{employer}}} |
|||
<tr><th>Net worth<td style="line-height:1.4em;">{{{networth}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{occupation|}}} | |
|||
-->{{#if:{{{height|}}} | |
|||
<tr><th>Occupation<td>{{{occupation}}} |
|||
<tr><th>Height<td style="line-height:1.4em;">{{{height}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{home_town|}}} | |
|||
-->{{#if:{{{weight|}}} | |
|||
<tr><th>Hometown<td>{{{home_town}}} |
|||
<tr><th>Weight<td style="line-height:1.4em;">{{{weight}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{title|}}} | |
|||
-->{{#if:{{{known|{{{known_for<includeonly>|</includeonly>}}}}}} | |
|||
<tr><th>Title<td>{{{title}}} |
|||
<tr><th>Known for<td style="line-height:1.4em;">{{{known|{{{known_for}}}}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{salary|}}} | |
|||
-->{{#if:{{{term|}}} | |
|||
<tr><th>Salary<td>{{{salary}}} |
|||
<tr><th>Term<td style="line-height:1.4em;">{{{term}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{networth|}}} | |
|||
-->{{#if:{{{predecessor|}}} | |
|||
<tr><th>Net worth<td>{{{networth}}} |
|||
<tr><th>Predecessor<td style="line-height:1.4em;">{{{predecessor}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{height|}}} | |
|||
-->{{#if:{{{successor|}}} | |
|||
<tr><th>Height<td>{{{height}}} |
|||
<tr><th>Successor<td style="line-height:1.4em;">{{{successor}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{weight|}}} | |
|||
-->{{#if:{{{party|}}} | |
|||
<tr><th>Weight<td>{{{weight}}} |
|||
<tr><th>Political party<td style="line-height:1.4em;">{{{party}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{known|{{{known_for|}}}}}} | |
|||
-->{{#if:{{{boards|}}} | |
|||
<tr><th>Known for<td>{{{known|{{{known_for}}}}}} |
|||
<tr><th>Boards on<td style="line-height:1.4em;">{{{boards}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{term|}}} | |
|||
-->{{#if:{{{religion|}}} | |
|||
<tr><th>Term<td>{{{term}}} |
|||
<tr><th>Religious beliefs<td style="line-height:1.4em;">{{{religion}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{predecessor|}}} | |
|||
-->{{#if:{{{spouse|}}} | |
|||
<tr><th>Predecessor<td>{{{predecessor}}} |
|||
<tr><th>Spouse<td style="line-height:1.4em;">{{{spouse}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{successor|}}} | |
|||
-->{{#if:{{{partner|}}} | |
|||
<tr><th>Successor<td>{{{successor}}} |
|||
<tr><th>Partner<td style="line-height:1.4em;">{{{partner}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{party|}}} | |
|||
-->{{#if:{{{children|}}} | |
|||
<tr><th>Political party<td>{{{party}}} |
|||
<tr><th>Children<td style="line-height:1.4em;">{{{children}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{boards|}}} | |
|||
-->{{#if:{{{parents|}}} | |
|||
<tr><th>Boards on<td>{{{boards}}} |
|||
<tr><th>Parents<td style="line-height:1.4em;">{{{parents}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{religion|}}} | |
|||
-->{{#if:{{{relations|}}}{{{relatives|}}} | |
|||
<tr><th>Religious beliefs<td>{{{religion}}} |
|||
<tr><th>Relatives<td style="line-height:1.4em;">{{{relations|{{{relatives}}}}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{spouse|}}} | |
|||
-->{{#if:{{{signature|}}} | |
|||
<tr><th>Spouse<td>{{{spouse}}} |
|||
<tr><th>Signature<td style="line-height:1.4em;">[[Image:{{{signature}}}|128px]]<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{partner|}}} | |
|||
-->{{#if:{{{website|}}} | |
|||
<tr><th>Partner<td>{{{partner}}} |
|||
<tr><th>Website<td style="line-height:1.4em;">{{{website}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{children|}}} | |
|||
-->{{#if:{{{footnotes|}}} | |
|||
<tr><th>Children<td>{{{children}}} |
|||
<tr><td colspan="2" style="border-top:1px solid; line-height:1.2em; font-size:smaller; font-style:italic;">{{{footnotes}}}<!-- |
|||
}}{{ |
|||
-->}}<!-- |
|||
#if: {{{parents|}}} | |
|||
--></tr></table><noinclude> |
|||
<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> |
Revision as of 15: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}}} |