Template:Infobox person: Difference between revisions

From Alathra Wiki
Content added Content deleted
(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)
(Undid revision 193494853 by Sardanaphalus (talk))
Line 1:
<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}}}}}
--><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<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}}|]]<divbr style="padding-top:2pt;"/>{{{caption<includeonly>|</includeonly>}}}</div><!--
-->}}<!--{{
-->{{#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&nbsp;names<td style="line-height:1.4em;"><span class="nickname">{{{other_names}}}</span><!--
-->}}<!--{{
-->{{#if: {{{educationresting_place|}}} |
<tr><th>EducationResting place<td><span styleclass="line-height:1.4em;label">{{{educationresting_place}}}<!--/span>{{
#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><span class="label">{{{residence}}}</span>
-->{{#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&nbsp;town<td style="line-height:1.4em;">{{{home_town}}}<!--
#if: {{{other_names|}}} |
-->}}<!--
<tr><th>Other&nbsp;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>{{{employer}}}
{{#if:{{{networth|}}} |
}}{{
<tr><th>Net&nbsp;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>Hometown<td>{{{home_town}}}
-->{{#if:{{{weight|}}} |
}}{{
<tr><th>Weight<td style="line-height:1.4em;">{{{weight}}}<!--
#if: {{{title|}}} |
-->}}<!--
<tr><th>Title<td>{{{title}}}
-->{{#if:{{{known|{{{known_for<includeonly>|</includeonly>}}}}}} |
}}{{
<tr><th>Known&nbsp;for<td style="line-height:1.4em;">{{{known|{{{known_for}}}}}}<!--
#if: {{{salary|}}} |
-->}}<!--
<tr><th>Salary<td>{{{salary}}}
-->{{#if:{{{term|}}} |
}}{{
<tr><th>Term<td style="line-height:1.4em;">{{{term}}}<!--
#if: {{{networth|}}} |
-->}}<!--
<tr><th>Net&nbsp;worth<td>{{{networth}}}
-->{{#if:{{{predecessor|}}} |
}}{{
<tr><th>Predecessor<td style="line-height:1.4em;">{{{predecessor}}}<!--
#if: {{{height|}}} |
-->}}<!--
<tr><th>Height<td>{{{height}}}
-->{{#if:{{{successor|}}} |
}}{{
<tr><th>Successor<td style="line-height:1.4em;">{{{successor}}}<!--
#if: {{{weight|}}} |
-->}}<!--
<tr><th>Weight<td>{{{weight}}}
-->{{#if:{{{party|}}} |
}}{{
<tr><th>Political&nbsp;party<td style="line-height:1.4em;">{{{party}}}<!--
#if: {{{known|{{{known_for|}}}}}} |
-->}}<!--
<tr><th>Known&nbsp;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&nbsp;beliefs<td style="line-height:1.4em;">{{{religion}}}<!--
#if: {{{predecessor|}}} |
-->}}<!--
<tr><th>Predecessor<td>{{{predecessor}}}
-->{{#if:{{{spouse|}}} |
}}{{
<tr><th>Spouse<td style="line-height:1.4em;">{{{spouse}}}<!--
#if: {{{successor|}}} |
-->}}<!--
<tr><th>Successor<td>{{{successor}}}
-->{{#if:{{{partner|}}} |
}}{{
<tr><th>Partner<td style="line-height:1.4em;">{{{partner}}}<!--
#if: {{{party|}}} |
-->}}<!--
<tr><th>Political&nbsp;party<td>{{{party}}}
-->{{#if:{{{children|}}} |
}}{{
<tr><th>Children<td style="line-height:1.4em;">{{{children}}}<!--
#if: {{{boards|}}} |
-->}}<!--
<tr><th>Boards on<td>{{{boards}}}
-->{{#if:{{{parents|}}} |
}}{{
<tr><th>Parents<td style="line-height:1.4em;">{{{parents}}}<!--
#if: {{{religion|}}} |
-->}}<!--
<tr><th>Religious&nbsp;beliefs<td>{{{religion}}}
-->{{#if:{{{relations|}}}{{{relatives|}}} |
}}{{
<tr><th>Relatives<td style="line-height:1.4em;">{{{relations|{{{relatives}}}}}}<!--
#if: {{{spouse|}}} |
-->}}<!--
<tr><th>Spouse<td>{{{spouse}}}
-->{{#if:{{{signature|}}} |
}}{{
<tr><th>Signature<td style="line-height:1.4em;">[[Image:{{{signature}}}|128px]]<!--
#if: {{{partner|}}} |
-->}}<!--
<tr><th>Partner<td>{{{partner}}}
-->{{#if:{{{website|}}} |
}}{{
<tr><th>Website<td style="line-height:1.4em;">{{{website}}}<!--
#if: {{{children|}}} |
-->}}<!--
<tr><th>Children<td>{{{children}}}
-->{{#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>{{{parents}}}
--></tr></table><noinclude>
}}{{
 
#if: {{{relations|}}} {{{relatives|}}} |
{{Documentation, template}} <!--allows /doc to display when template code is used in /sandbox-->
<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. -->
</noinclude>

Revision as of 15:22, 23 February 2008