Difference between revisions of "Template:Infobox Biography"

From Kelabit Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<table class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
+
<includeonly> style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
<tr>
+
<tr><th colspan="2" style="text-align: center;"><big class="fn">{{{subject_name|{{PAGENAME}}}}}</big></th></tr>  
<th colspan="2" style="text-align: center;"><big class="fn">{{{subject_name|{{PAGENAME}}}}}</big>
+
{{#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>|}}|}}
</th>
+
{{#if:{{{date_of_birth|}}}{{{place_of_birth|}}}
</tr>
+
| <tr valign="top"><th align="right">Born</th> <td>{{{date_of_birth}}}{{#if:{{{place_of_birth|}}}
{{#if:{{{image_name|}}}|<tr><td></td></tr>}}
+
| <br/>{{{place_of_birth|}}}
<tr><td></td></tr>
 
<tr><td></td></tr>
 
<tr><td></td></tr>
 
<tr><td></td></tr>
 
</table>
 
 
 
 
 
<includeonly><table class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
 
<tr><th colspan="2" style="text-align: center;"><big class="fn">{{{subject_name|{{PAGENAME}}}}}</big></th></tr>
 
 
 
{{#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>|}}|}}
 
 
}}</td></tr>
 
}}</td></tr>
}}
+
}}{{#if:{{{date_of_death|}}}
 
+
|<tr valign="top"><th style="text-align:right;">Died</th> <td>{{{date_of_death}}}{{#if:{{{place_of_death|}}}
 
+
  | <br/>{{{place_of_death}}}
</table></includeonly>
+
  }}</td></tr>
 
+
}}{{#if:{{{education|}}}
 
+
|<tr valign="top"><th style="text-align:right;">Education</th> <td>{{{education}}}</td></tr>
{{{parents}}}
+
}}{{#if:{{{occupation|}}}
{{{children}}}
+
|<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>
 +
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 09:22, 27 July 2007