Anonymous user
Template:Infobox person: Difference between revisions
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
({{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:
<noinclude>{{pp-semi-template|small=yes}}{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!--
--><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:
<tr><td colspan="2" style="font-size:8pt; text-align:center; padding:4pt; line-height:1.25em;"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if:
-->}}
-->{{#if:
<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:{{{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:{{{resting_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:{{{residence|}}} |
<tr><th>Residence<td style="line-height:1.4em;"><span class="label">{{{residence}}}</span><!--
-->}}<!--
-->{{#if:{{{nationality<includeonly>|</includeonly>}}} |
<tr><th>Nationality<td style="line-height:1.4em;">{{{nationality}}}<!--
-->}}<!--
-->{{#if:{{{other_names<includeonly>|</includeonly>}}} |
<tr><th>Other names<td style="line-height:1.4em;"><span class="nickname">{{{other_names}}}</span><!--
-->}}
-->{{#if:
<tr><th>
-->}}<!--
{{#if:{{{employer|}}} |
<tr><th>Employer<td style="line-height:1.4em;">{{{employer}}}<!--
-->}}<!--
-->{{#if:{{{occupation<includeonly>|</includeonly>}}} |
<tr><th>Occupation<td style="line-height:1.4em;">{{{occupation}}}<!--
-->}}<!--
-->{{#if:{{{home_town|}}} |
<tr><th>Home town<td style="line-height:1.4em;">{{{home_town}}}<!--
-->}}<!--
-->{{#if: {{{title|}}} |
<tr><th>Title<td style="line-height:1.4em;">{{{title}}}<!--
-->}}<!--
{{#if:{{{salary|}}} |
<tr><th>Salary<td style="line-height:1.4em;">{{{salary}}}<!--
-->}}<!--
{{#if:{{{networth|}}} |
<tr><th>Net worth<td style="line-height:1.4em;">{{{networth}}}<!--
-->}}<!--
-->{{#if:{{{height|}}} |
<tr><th>Height<td style="line-height:1.4em;">{{{height}}}<!--
-->}}<!--
-->{{#if:{{{weight|}}} |
<tr><th>Weight<td style="line-height:1.4em;">{{{weight}}}<!--
-->}}<!--
-->{{#if:{{{known|{{{known_for<includeonly>|</includeonly>}}}}}} |
<tr><th>Known for<td style="line-height:1.4em;">{{{known|{{{known_for}}}}}}<!--
-->}}<!--
-->{{#if:{{{term|}}} |
<tr><th>Term<td style="line-height:1.4em;">{{{term}}}<!--
-->}}<!--
-->{{#if:{{{predecessor|}}} |
<tr><th>Predecessor<td style="line-height:1.4em;">{{{predecessor}}}<!--
-->}}<!--
-->{{#if:{{{successor|}}} |
<tr><th>Successor<td style="line-height:1.4em;">{{{successor}}}<!--
-->}}<!--
-->{{#if:{{{party|}}} |
<tr><th>Political party<td style="line-height:1.4em;">{{{party}}}<!--
-->}}<!--
-->{{#if:{{{boards|}}} |
<tr><th>Boards on<td style="line-height:1.4em;">{{{boards}}}<!--
-->}}<!--
-->{{#if:{{{religion|}}} |
<tr><th>Religious beliefs<td style="line-height:1.4em;">{{{religion}}}<!--
-->}}<!--
-->{{#if:{{{spouse|}}} |
<tr><th>Spouse<td style="line-height:1.4em;">{{{spouse}}}<!--
-->}}<!--
-->{{#if:{{{partner|}}} |
<tr><th>Partner<td style="line-height:1.4em;">{{{partner}}}<!--
-->}}<!--
-->{{#if:{{{children|}}} |
<tr><th>Children<td style="line-height:1.4em;">{{{children}}}<!--
-->}}<!--
-->{{#if:{{{parents|}}} |
<tr><th>Parents<td style="line-height:1.4em;">{{{parents}}}<!--
-->}}<!--
-->{{#if:{{{relations|}}}{{{relatives|}}} |
<tr><th>Relatives<td style="line-height:1.4em;">{{{relations|{{{relatives}}}}}}<!--
-->}}<!--
-->{{#if:{{{signature|}}} |
<tr><th>Signature<td style="line-height:1.4em;">[[Image:{{{signature}}}|128px]]<!--
-->}}<!--
-->{{#if:{{{website|}}} |
<tr><th>Website<td style="line-height:1.4em;">{{{website}}}<!--
-->}}<!--
-->{{#if:{{{footnotes|}}} |
<tr><td colspan="2" style="border-top:1px solid; line-height:1.2em; font-size:smaller; font-style:italic;">{{{footnotes}}}<!--
-->}}<!--
--></tr></table><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. -->
</noinclude>
|