Template:Infobox person: Difference between revisions

From Alathra Wiki
Content added Content deleted
(I think the wrong bracket was removed - errors on all person infoboxes, may need an expert to fix it.)
(includeonly)
Line 1: Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude>
<noinclude>{{#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">
<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">{{#if: {{{name<includeonly>|</includeonly>}}} | {{{name}}} | {{PAGENAME}}
<tr><th colspan="2" style="text-align:center; font-size:larger;" class="fn">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}
}}{{
}}{{
#if: {{{image<includeonly>|</includeonly>}}} |
#if: {{{image|}}} |
<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<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}}|]]<br />{{{caption|}}}
}}{{
}}{{
#if: {{{birth_name<includeonly>|</includeonly>}}} {{{birth_date|}}} {{{birth_place|}}} |
#if: {{{birth_name|}}} {{{birth_date|}}} {{{birth_place|}}} |
<tr><th>Born<td>{{
<tr><th>Born<td>{{
#if: {{{birth_name<includeonly>|</includeonly>}}} |
#if: {{{birth_name|}}} |
{{{birth_name}}}<br />
{{{birth_name}}}<br />
}}{{
}}{{
#if: {{{birth_date<includeonly>|</includeonly>}}} |
#if: {{{birth_date|}}} |
{{{birth_date}}}<br />
{{{birth_date}}}<br />
}}{{{birth_place<includeonly>|</includeonly>}}}
}}{{{birth_place|}}}
}}{{
}}{{
#if: {{{death_date<includeonly>|</includeonly>}}} {{{death_place|}}} {{{death_cause|}}} |
#if: {{{death_date|}}} {{{death_place|}}} {{{death_cause|}}} |
<tr><th>Died<td>{{
<tr><th>Died<td>{{
#if: {{{death_date<includeonly>|</includeonly>}}} |
#if: {{{death_date|}}} |
{{{death_date}}}<br />
{{{death_date}}}<br />
}}{{
}}{{
#if: {{{death_place<includeonly>|</includeonly>}}} |
#if: {{{death_place|}}} |
{{{death_place}}}<br />
{{{death_place}}}<br />
}}{{{death_cause<includeonly>|</includeonly>}}}
}}{{{death_cause|}}}
}}{{
}}{{
#if: {{{resting_place<includeonly>|</includeonly>}}} |
#if: {{{resting_place|}}} |
<tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{
<tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{
#if: {{{resting_place_coordinates<includeonly>|</includeonly>}}} |
#if: {{{resting_place_coordinates|}}} |
<br />{{{resting_place_coordinates}}} }}
<br />{{{resting_place_coordinates}}} }}
}}{{
}}{{
#if: {{{residence<includeonly>|</includeonly>}}} |
#if: {{{residence|}}} |
<tr><th>Residence<td><span class="label">{{{residence}}}</span>
<tr><th>Residence<td><span class="label">{{{residence}}}</span>
}}{{
}}{{
#if: {{{nationality<includeonly>|</includeonly>}}} |
#if: {{{nationality|}}} |
<tr><th>Nationality<td>{{{nationality}}}
<tr><th>Nationality<td>{{{nationality}}}
}}{{
}}{{
#if: {{{other_names<includeonly>|</includeonly>}}} |
#if: {{{other_names|}}} |
<tr><th>Other&nbsp;names<td><span class="nickname">{{{other_names}}}</span>
<tr><th>Other&nbsp;names<td><span class="nickname">{{{other_names}}}</span>
}}{{
}}{{
#if: {{{known|{{{known_for<includeonly>|</includeonly>}}}}}} |
#if: {{{known|{{{known_for|}}}}}} |
<tr><th>Known&nbsp;for<td>{{{known|{{{known_for}}}}}}
<tr><th>Known&nbsp;for<td>{{{known|{{{known_for}}}}}}
}}{{
}}{{
#if: {{{education<includeonly>|</includeonly>}}} |
#if: {{{education|}}} |
<tr><th>Education<td>{{{education}}}
<tr><th>Education<td>{{{education}}}
}}{{
}}{{
#if: {{{employer<includeonly>|</includeonly>}}} |
#if: {{{employer|}}} |
<tr><th>Employer<td>{{{employer}}}
<tr><th>Employer<td>{{{employer}}}
}}{{
}}{{
#if: {{{occupation<includeonly>|</includeonly>}}} |
#if: {{{occupation|}}} |
<tr><th>Occupation<td>{{{occupation}}}
<tr><th>Occupation<td>{{{occupation}}}
}}{{
}}{{
#if: {{{title<includeonly>|</includeonly>}}} |
#if: {{{title|}}} |
<tr><th>Title<td>{{{title}}}
<tr><th>Title<td>{{{title}}}
}}{{
}}{{
#if: {{{salary<includeonly>|</includeonly>}}} |
#if: {{{salary|}}} |
<tr><th>Salary<td>{{{salary}}}
<tr><th>Salary<td>{{{salary}}}
}}{{
}}{{
#if: {{{networth<includeonly>|</includeonly>}}} |
#if: {{{networth|}}} |
<tr><th>Net&nbsp;worth<td>{{{networth}}}
<tr><th>Net&nbsp;worth<td>{{{networth}}}
}}{{
}}{{
#if: {{{height<includeonly>|</includeonly>}}} |
#if: {{{height|}}} |
<tr><th>Height<td>{{{height}}}
<tr><th>Height<td>{{{height}}}
}}{{
}}{{
#if: {{{weight<includeonly>|</includeonly>}}} |
#if: {{{weight|}}} |
<tr><th>Weight<td>{{{weight}}}
<tr><th>Weight<td>{{{weight}}}
}}{{
}}{{
#if: {{{term<includeonly>|</includeonly>}}} |
#if: {{{term|}}} |
<tr><th>Term<td>{{{term}}}
<tr><th>Term<td>{{{term}}}
}}{{
}}{{
#if: {{{predecessor<includeonly>|</includeonly>}}} |
#if: {{{predecessor|}}} |
<tr><th>Predecessor<td>{{{predecessor}}}
<tr><th>Predecessor<td>{{{predecessor}}}
}}{{
}}{{
#if: {{{successor<includeonly>|</includeonly>}}} |
#if: {{{successor|}}} |
<tr><th>Successor<td>{{{successor}}}
<tr><th>Successor<td>{{{successor}}}
}}{{
}}{{
#if: {{{party<includeonly>|</includeonly>}}} |
#if: {{{party|}}} |
<tr><th>Political&nbsp;party<td>{{{party}}}
<tr><th>Political&nbsp;party<td>{{{party}}}
}}{{
}}{{
#if: {{{boards<includeonly>|</includeonly>}}} |
#if: {{{boards|}}} |
<tr><th>Boards on<td>{{{boards}}}
<tr><th>Boards on<td>{{{boards}}}
}}{{
}}{{
#if: {{{religion<includeonly>|</includeonly>}}} |
#if: {{{religion|}}} |
<tr><th>Religious&nbsp;stance<td>{{{religion}}}
<tr><th>Religious&nbsp;stance<td>{{{religion}}}
}}{{
}}{{
#if: {{{spouse<includeonly>|</includeonly>}}} |
#if: {{{spouse|}}} |
<tr><th>Spouse<td>{{{spouse}}}
<tr><th>Spouse<td>{{{spouse}}}
}}{{
}}{{
#if: {{{partner<includeonly>|</includeonly>}}} |
#if: {{{partner|}}} |
<tr><th>Partner<td>{{{partner}}}
<tr><th>Partner<td>{{{partner}}}
}}{{
}}{{
#if: {{{children<includeonly>|</includeonly>}}} |
#if: {{{children|}}} |
<tr><th>Children<td>{{{children}}}
<tr><th>Children<td>{{{children}}}
}}{{
}}{{
#if: {{{parents<includeonly>|</includeonly>}}} |
#if: {{{parents|}}} |
<tr><th>Parents<td>{{{parents}}}
<tr><th>Parents<td>{{{parents}}}
}}{{
}}{{
#if: {{{relations|}}} {{{relatives<includeonly>|</includeonly>}}} |
#if: {{{relations|}}} {{{relatives|}}} |
<tr><th>Relatives<td>{{{relations|{{{relatives}}}}}}
<tr><th>Relatives<td>{{{relations|{{{relatives}}}}}}
}}{{
}}{{
#if: {{{signature<includeonly>|</includeonly>}}} |
#if: {{{signature|}}} |
<tr><th>Signature<td>[[Image:{{{signature}}}|128px]]
<tr><th>Signature<td>[[Image:{{{signature}}}|128px]]
}}{{
}}{{
#if: {{{website<includeonly>|</includeonly>}}} |
#if: {{{website|}}} |
<tr><th>Website<td>{{{website}}}
<tr><th>Website<td>{{{website}}}
}}{{
}}{{
#if: {{{footnotes<includeonly>|</includeonly>}}} |
#if: {{{footnotes|}}} |
<tr><td colspan="2" style="font-size: smaller; font-style: italic; border-top: 1px solid;">{{{footnotes}}}
<tr><td colspan="2" style="font-size: smaller; font-style: italic; border-top: 1px solid;">{{{footnotes}}}
}}</tr>
}}</tr>
</table><noinclude>
</table></includeonly><noinclude>
{{Documentation, template}}<!--allows /doc to display when template code is used in /sandbox-->
{{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. -->

Revision as of 12:40, 3 December 2007