Difference between revisions of "Template:Infobox Biography"

From Kelabit Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
+
<includeonly><table class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
<pre>{{Infobox Biography
+
<tr><th colspan="2" style="text-align: center;"><big class="fn">{{{subject_name|{{PAGENAME}}}}}</big></th></tr>
| subject_name  =  
+
{{#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_name     =
+
{{#if:{{{date_of_birth|}}}{{{place_of_birth|}}}
| image_size     =  
+
| <tr valign="top"><th align="right">Born</th> <td>{{{date_of_birth}}}{{#if:{{{place_of_birth|}}}
| image_caption  =
+
| <br/>{{{place_of_birth|}}}
| date_of_birth =
+
}}</td></tr>
| place_of_birth =
+
}}{{#if:{{{date_of_death|}}}
| date_of_death =
+
|<tr valign="top"><th style="text-align:right;">Died</th> <td>{{{date_of_death}}}{{#if:{{{place_of_death|}}}
| place_of_death =  
+
  | <br/>{{{place_of_death}}}
| education      =  
+
  }}</td></tr>
| occupation    =  
+
}}{{#if:{{{education|}}}
| title          =  
+
|<tr valign="top"><th style="text-align:right;">Education</th> <td>{{{education}}}</td></tr>
| spouse        =  
+
}}{{#if:{{{occupation|}}}
| parents        =  
+
|<tr valign="top"><th style="text-align:right;">Occupation</th> <td>{{{occupation}}}</td></tr>
| children      =  
+
}}{{#if:{{{title|}}}
| nationality    =
+
|<tr valign="top"><th style="text-align:right;">Title</th> <td>{{{title}}}</td></tr>
| website       =
+
}}{{#if:{{{spouse|}}}
}}</pre>
+
|<tr valign="top"><th style="text-align:right;">Spouse</th> <td>{{{spouse}}}</td></tr>
</div>
+
}}{{#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>

Latest revision as of 09:23, 27 July 2007


{{

  1. switch:Template

|Help|Help talk|Portal|Portal talk|Wikipedia|Wikipedia talk= |Category|Category talk|Image|Image talk|MediaWiki|MediaWiki talk|Template|Template talk|User|User talk= |#default={{#if: ||[[Category:Articles to be merged{{#if: | since {{{date}}} }}|Infobox Biography]] }}}}

An Infobox Biography may be used to summarize information about a person.