Template:Infobox person: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing apply label class to residence, also |
meta>Zyxw convert to html (fixes problem with multi-line parameters), allow image_size parameter to work if blank, make template page show all parameter names. |
||
Line 1: | Line 1: | ||
< | <noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude> | ||
<table class="infobox biography vcard" style="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: {{{subject_name|}}} {{{name<includeonly>|</includeonly>}}} | ||
{{ | | {{{subject_name|{{{name}}}}}} | ||
{{ | | {{PAGENAME}} | ||
}}{{ | |||
#if: {{{image_name|{{{image<includeonly>|</includeonly>}}}}}} | | |||
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name|{{{image}}}}}}|{{{imagesize|{{{image_size|225px}}}}}}|]]<br />{{{image_caption|{{{caption<includeonly>|</includeonly>}}}}}} | |||
}}{{ | |||
#if: {{{birth_name<includeonly>|</includeonly>}}} {{{date_of_birth|{{{birth_date|}}}}}} {{{place_of_birth|{{{birth_place|}}}}}} | | |||
{{#if: {{{date_of_death|{{{death_date|}}}}}} {{{place_of_death|{{{death_place|}}}}}} {{{death_cause|}}} | | <tr><th>Born<td>{{ | ||
#if: {{{birth_name<includeonly>|</includeonly>}}} | | |||
{{{birth_name}}}<br /> | |||
}}{{ | |||
{{#if: {{{resting_place|}} | #if: {{{date_of_birth|{{{birth_date<includeonly>|</includeonly>}}}}}} | {{{date_of_birth|{{{birth_date}}}}}}<br /> | ||
}}{{{place_of_birth|{{{birth_place<includeonly>|</includeonly>}}}}}} | |||
}}{{ | |||
#if: {{{date_of_death|{{{death_date<includeonly>|</includeonly>}}}}}} {{{place_of_death|{{{death_place|}}}}}} {{{death_cause|}}} | | |||
{{#if: {{{residence|}}} | | <tr><th>Died<td>{{ | ||
#if: {{{date_of_death|{{{death_date<includeonly>|</includeonly>}}}}}} | {{{date_of_death|{{{death_date}}}}}}<br /> | |||
}}{{ | |||
#if: {{{place_of_death|{{{death_place<includeonly>|</includeonly>}}}}}} | {{{place_of_death|{{{death_place}}}}}}<br /> | |||
}}{{{death_cause<includeonly>|</includeonly>}}} | |||
}}{{ | |||
#if: {{{resting_place<includeonly>|</includeonly>}}} | | |||
<tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{ | |||
#if: {{{resting_place_coordinates<includeonly>|</includeonly>}}} | | |||
<br />{{{resting_place_coordinates}}} }} | |||
}}{{ | |||
#if: {{{residence<includeonly>|</includeonly>}}} | | |||
<tr><th>Residence<td><span class="label">{{{residence}}}</span> | |||
}}{{ | |||
{{ | #if: {{{nationality<includeonly>|</includeonly>}}} | | ||
<tr><th>Nationality<td>{{{nationality}}} | |||
{{#if: {{{education|}}} | | }}{{ | ||
#if: {{{other_names<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Other names<td><span class="nickname">{{{other_names}}}</span> | ||
}}{{ | |||
{{#if: {{{employer|}}} | | #if: {{{known|{{{known_for<includeonly>|</includeonly>}}}}}} | | ||
<tr><th>Known for<td>{{{known|{{{known_for}}}}}} | |||
{{ | }}{{ | ||
#if: {{{education<includeonly>|</includeonly>}}} | | |||
{{#if: {{{occupation|}}} | | <tr><th>Education<td>{{{education}}} | ||
}}{{ | |||
{{ | #if: {{{employer<includeonly>|</includeonly>}}} | | ||
<tr><th>Employer<td>{{{employer}}} | |||
{{#if: {{{title|}}} | | }}{{ | ||
#if: {{{occupation<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Occupation<td>{{{occupation}}} | ||
}}{{ | |||
{{#if: {{{salary|}}} | | #if: {{{title<includeonly>|</includeonly>}}} | | ||
<tr><th>Title<td>{{{title}}} | |||
{{ | }}{{ | ||
#if: {{{salary<includeonly>|</includeonly>}}} | | |||
{{#if: {{{networth|}}} | | <tr><th>Salary<td>{{{salary}}} | ||
}}{{ | |||
{{ | #if: {{{networth<includeonly>|</includeonly>}}} | | ||
<tr><th>Net worth<td>{{{networth}}} | |||
{{#if: {{{height|}}} | | }}{{ | ||
#if: {{{height<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Height<td>{{{height}}} | ||
}}{{ | |||
{{#if: {{{weight|}}} | | #if: {{{weight<includeonly>|</includeonly>}}} | | ||
<tr><th>Weight<td>{{{weight}}} | |||
{{ | }}{{ | ||
#if: {{{term<includeonly>|</includeonly>}}} | | |||
{{#if: {{{term|}}} | | <tr><th>Term<td>{{{term}}} | ||
}}{{ | |||
{{ | #if: {{{predecessor<includeonly>|</includeonly>}}} | | ||
<tr><th>Predecessor<td>{{{predecessor}}} | |||
{{#if: {{{predecessor|}}} | | }}{{ | ||
#if: {{{successor<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Successor<td>{{{successor}}} | ||
}}{{ | |||
{{#if: {{{successor|}}} | | #if: {{{party<includeonly>|</includeonly>}}} | | ||
<tr><th>Political party<td>{{{party}}} | |||
{{ | }}{{ | ||
#if: {{{boards<includeonly>|</includeonly>}}} | | |||
{{#if: {{{party|}}} | | <tr><th>Boards on<td>{{{boards}}} | ||
}}{{ | |||
{{ | #if: {{{religion<includeonly>|</includeonly>}}} | | ||
<tr><th>Religious belief<td>{{{religion}}} | |||
{{#if: {{{boards|}}} | | }}{{ | ||
#if: {{{spouse<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Spouse<td>{{{spouse}}} | ||
}}{{ | |||
{{#if: {{{religion|}}} | | #if: {{{partner<includeonly>|</includeonly>}}} | | ||
<tr><th>Partner<td>{{{partner}}} | |||
{{ | }}{{ | ||
#if: {{{children<includeonly>|</includeonly>}}} | | |||
{{#if: {{{spouse|}}} | | <tr><th>Children<td>{{{children}}} | ||
}}{{ | |||
{{ | #if: {{{parents<includeonly>|</includeonly>}}} | | ||
<tr><th>Parents<td>{{{parents}}} | |||
{{#if: {{{partner|}}} | | }}{{ | ||
#if: {{{relations|}}} {{{relatives<includeonly>|</includeonly>}}} | | |||
{{ | <tr><th>Relatives<td>{{{relations|{{{relatives}}}}}} | ||
}}{{ | |||
{{#if: {{{children|}}} | | #if: {{{signature<includeonly>|</includeonly>}}} | | ||
<tr><th>Signature<td>[[Image:{{{signature}}}|128px]] | |||
{{ | }}{{ | ||
#if: {{{website<includeonly>|</includeonly>}}} | | |||
{{#if: {{{parents|}}} | | <tr><th>Website<td>{{{website}}} | ||
}}{{ | |||
{{ | #if: {{{footnotes<includeonly>|</includeonly>}}} | | ||
<tr><th colspan="2" style="font-size: smaller;">{{{footnotes}}} | |||
{{#if: | }}</tr> | ||
</table><noinclude> | |||
{{{{BASEPAGENAME}}/doc}} | |||
{{ | |||
{{{{ | |||
<!-- Add categories and interwikis to the /doc subpage, not here. --> | <!-- Add categories and interwikis to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |
Revision as of 08:50, 13 August 2007
{{{name}}} | |
---|---|
[[Image:{{{image}}}|225px|]] {{{caption}}} | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} {{{death_cause}}} |
Resting place | {{{resting_place}}} {{{resting_place_coordinates}}} |
Residence | {{{residence}}} |
Nationality | {{{nationality}}} |
Other names | {{{other_names}}} |
Known for | {{{known_for}}} |
Education | {{{education}}} |
Employer | {{{employer}}} |
Occupation | {{{occupation}}} |
Title | {{{title}}} |
Salary | {{{salary}}} |
Net worth | {{{networth}}} |
Height | {{{height}}} |
Weight | {{{weight}}} |
Term | {{{term}}} |
Predecessor | {{{predecessor}}} |
Successor | {{{successor}}} |
Political party | {{{party}}} |
Boards on | {{{boards}}} |
Religious belief | {{{religion}}} |
Spouse | {{{spouse}}} |
Partner | {{{partner}}} |
Children | {{{children}}} |
Parents | {{{parents}}} |
Relatives | {{{relatives}}} |
Signature | [[Image:{{{signature}}}|128px]] |
Website | {{{website}}} |
{{{footnotes}}} |