Template:Infobox biography: Difference between revisions

From [[Main_Page|Pilkipedia]], the Karl Pilkington encyclopaedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{{'''subject_name'''}}}
includeonly><table class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
{{{image_name}}}
<tr><th colspan="2" style="text-align: center;"><big class="fn">{{{subject_name|{{PAGENAME}}}}}</big></th></tr>
{{{image_size}}}
{{#if:{{{image_name|}}}|<tr><td colspan="2" align="center">[[Image:{{{image_name}}}|{{{image_size|180x180px}}}|center]] {{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>|}}|}}
{{{image_caption}}}
{{#if:{{{date_of_birth|}}}{{{place_of_birth|}}}
Born: {{{date_of_birth}}}
| <tr valign="top"><th align="right">Born</th> <td>{{{date_of_birth}}}{{#if:{{{place_of_birth|}}}
{{{place_of_birth}}}
| <br/>{{{place_of_birth|}}}
Occupation: {{{occupation}}}
}}</td></tr>
Died: {{{date_of_death}}}
}}{{#if:{{{date_of_death|}}}
{{{place_of_death}}}
|<tr valign="top"><th style="text-align:right;">Died</th> <td>{{{date_of_death}}}{{#if:{{{place_of_death|}}}
Partner: {{{spouse}}}
  | <br/>{{{place_of_death}}}
Parents: {{{parents}}}
  }}</td></tr>
Children: {{{children}}}
}}{{#if:{{{education|}}}
|<tr valign="top"><th style="text-align:right;">Education</th> <td>{{{education}}}</td></tr>
}}{{#if:{{{occupation|}}}
|<tr valign="top"><th style="text-align:right;">Occupation</th> <td>{{{occupation}}}</td></tr>
}}{{#if:{{{title|}}}
|<tr valign="top"><th style="text-align:right;">Title</th> <td>{{{title}}}</td></tr>
}}{{#if:{{{spouse|}}}
|<tr valign="top"><th style="text-align:right;">Spouse</th> <td>{{{spouse}}}</td></tr>
}}{{#if:{{{parents|}}}
|<tr valign="top"><th style="text-align:right;">Parents</th> <td>{{{parents}}}</td></tr>
}}{{#if:{{{children|}}}
|<tr valign="top"><th style="text-align:right;">Children</th> <td>{{{children}}}</td></tr>
}}{{#if:{{{nationality|}}}
|<tr valign="top"><th style="text-align:right;">Nationality</th> <td>{{{nationality}}}</td></tr>
}}{{#if:{{{website|}}}
|<tr valign="top"><th style="text-align:right;">Website</th> <td>{{{website}}}</td></tr>
}}</table></includeonly><noinclude>
{{{{FULLPAGENAME}}/doc}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 00:39, 24 July 2007

includeonly>

{{#if:| }}{{#if: | }}{{#if: |

}}{{#if:

|

}}{{#if:

|

}}{{#if:

|

}}{{#if:

|

}}{{#if:

|

}}{{#if:

|

}}{{#if:

| }}
Infobox biography
[[Image:{{{image_name}}}|180x180px|center]] {{#if:|
{{{image_caption}}}
|}}|}}

{{#if:

|
Born {{{date_of_birth}}}{{#if:

|

}}
Died {{{date_of_death}}}{{#if:
 | 
{{{place_of_death}}}
}}
Education {{{education}}}
Occupation {{{occupation}}}
Title {{{title}}}
Spouse {{{spouse}}}
Parents {{{parents}}}
Children {{{children}}}
Nationality {{{nationality}}}
Website {{{website}}}

</includeonly>

Template:Infobox biography/doc