Difference between revisions of "Template:Infobox Biography"

From Kelabit Wiki
Jump to navigation Jump to search
(New page: {{merge|Infobox Person}} An '''''Infobox Biography''''' may be used to summarize information about a person. == Usage == This infobox may be added by pasting the template as shown below ...)
 
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{merge|Infobox Person}}
+
<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>
An '''''Infobox Biography''''' may be used to summarize information about a person.
+
{{#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>|}}|}}
 
+
{{#if:{{{date_of_birth|}}}{{{place_of_birth|}}}
== Usage ==
+
| <tr valign="top"><th align="right">Born</th> <td>{{{date_of_birth}}}{{#if:{{{place_of_birth|}}}
This infobox may be added by pasting the template as shown below into an article.
+
| <br/>{{{place_of_birth|}}}
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
+
}}</td></tr>
<pre>{{Infobox Biography
+
}}{{#if:{{{date_of_death|}}}
| subject_name  =
+
|<tr valign="top"><th style="text-align:right;">Died</th> <td>{{{date_of_death}}}{{#if:{{{place_of_death|}}}
| image_name    =  
+
  | <br/>{{{place_of_death}}}
| image_size    =
+
  }}</td></tr>
| image_caption  =  
+
}}{{#if:{{{education|}}}
| date_of_birth  =
+
|<tr valign="top"><th style="text-align:right;">Education</th> <td>{{{education}}}</td></tr>
| place_of_birth =  
+
}}{{#if:{{{occupation|}}}
| date_of_death  =
+
|<tr valign="top"><th style="text-align:right;">Occupation</th> <td>{{{occupation}}}</td></tr>
| place_of_death =  
+
}}{{#if:{{{title|}}}
| education      =
+
|<tr valign="top"><th style="text-align:right;">Title</th> <td>{{{title}}}</td></tr>
| occupation    =  
+
}}{{#if:{{{spouse|}}}
| title          =
+
|<tr valign="top"><th style="text-align:right;">Spouse</th> <td>{{{spouse}}}</td></tr>
| spouse        =  
+
}}{{#if:{{{parents|}}}
| parents        =
+
|<tr valign="top"><th style="text-align:right;">Parents</th> <td>{{{parents}}}</td></tr>
| children      =  
+
}}{{#if:{{{children|}}}
| nationality    =
+
|<tr valign="top"><th style="text-align:right;">Children</th> <td>{{{children}}}</td></tr>
| website       =
+
}}{{#if:{{{nationality|}}}
}}</pre>
+
|<tr valign="top"><th style="text-align:right;">Nationality</th> <td>{{{nationality}}}</td></tr>
</div>
+
}}{{#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.