Difference between revisions of "Template:Infobox Biography"

From Taijitu
Jump to: navigation, search
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table class="infobox" style="width: 21em; font-size:90%; text-align: left; align: right;" cellspacing="2">
+
{| align=right cellpadding=4 cellspacing=0 width=300 class="infobox" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
<tr><th colspan="2" style="text-align: center;"><big>{{{subject_name|{{PAGENAME}}}}}</big></th></tr>
+
!colspan=2 style="background-color:{{Color|{{{Name|}}}}}"|<big>{{{Full Name|{{{Name}}}}}}</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>|}}|}}
+
|-
<tr valign="top"><th align="right">Born</th> <td>{{{date_of_birth}}}{{#if:{{{place_of_birth|}}}
+
| align="center" colspan="2"|
| <br/>{{{place_of_birth}}}
+
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
}}</td></tr>
+
| width="130px"| [[image:{{{Avatar}}}|125px|Avatar of {{{Name}}}]]
{{#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}}}
+
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
  }}</td></tr>
+
|-
}}{{#if:{{{occupation|}}}
+
!Member since
|<tr valign="top"><th style="text-align:right;">Occupation</th> <td>{{{occupation}}}</td></tr>
+
| {{{Member since}}}
}}{{#if:{{{spouse|}}}
+
|-
|<tr valign="top"><th style="text-align:right;">Spouse</th> <td>{{{spouse}}}</td></tr>
+
{{#if: {{{WA category|}}}|!WA category
}}{{#if:{{{parents|}}}
+
{{!}} {{{WA category}}}|}}
|<tr valign="top"><th style="text-align:right;">Parents</th> <td>{{{parents}}}</td></tr>
+
|-
}}{{#if:{{{children|}}}
+
{{#if: {{{Political party|}}}|!Political party
|<tr valign="top"><th style="text-align:right;">Children</th> <td>{{{children}}}</td></tr>
+
{{!}} {{{Political party}}}|}}
}}</table><noinclude>
+
|-
 +
{{#if: {{{Political positions|}}}|!Political positions
 +
{{!}} {{{Political positions}}}}}
 +
|-
 +
{{#if: {{{Soapbox issue}}}|!Soapbox issue
 +
{{!}} {{{Soapbox issue}}}}}
 +
|-
 +
{{#if: {{{Hobbies|}}}|!Hobbies
 +
{{!}} {{{Hobbies}}}}}
 +
|-
 +
{{#if: {{{Favorite movie|}}}|!Favorite movie
 +
{{!}} {{{Favorite movie}}}}}
 +
|-
 +
{{#if: {{{Favorite book|}}}|!Favorite book
 +
{{!}} {{{Favorite book}}}}}
 +
|-
 +
{{#if: {{{Favorite song|}}}|!Favorite song
 +
{{!}} {{{Favorite song}}}}}
 +
|-
 +
{{#if: {{{Specialty|}}}|!Specialty
 +
{{!}} {{{Specialty}}}}}
 +
|}
  
== Usage ==
+
<noinclude>==Usage==
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
{{Infobox Biography
+
{{Infobox_Biography
| subject_name  =  
+
|Color=
| image_name    =  
+
|Name=
| image_size    =  
+
|Avatar=
| image_caption  =  
+
|Motto=
| date_of_birth  =  
+
|Member since=
| place_of_birth =  
+
|WA category=
| date_of_death  =  
+
|Political party=
| place_of_death =  
+
|Political positions=
| occupation    =  
+
|Soapbox issue=
| spouse        =  
+
|Hobbies=
| parents        =
+
|Favorite movie=
| children      =
+
|Favorite book=
 +
|Favorite song=
 +
|Specialty=
 
}}</pre></div>
 
}}</pre></div>
 +
 +
 +
</noinclude>

Latest revision as of 17:03, 9 July 2010

{{{Name}}}
[[image:{{{Avatar}}}|125px|Avatar of {{{Name}}}]]
Motto: {{{Motto}}}
Member since {{{Member since}}}
Soapbox issue {{{Soapbox issue}}}

Usage

{{Infobox_Biography
|Color=
|Name=
|Avatar=
|Motto=
|Member since=
|WA category=
|Political party=
|Political positions=
|Soapbox issue=
|Hobbies=
|Favorite movie=
|Favorite book=
|Favorite song=
|Specialty=
}}