Difference between revisions of "Template:Infobox person"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Kurieeto
imported>CBDunkerson
(Converting to use #if:)
Line 1: Line 1:
{| class="infobox" style="width: 20em; font-size: 90%;"
+
{|  
 +
{{#if: ="infobox" style="width: 20em; font-size: 90%;"
 
|+ style="font-size:larger;" | '''{{{name}}}'''
 
|+ style="font-size:larger;" | '''{{{name}}}'''
|- class{{{image|}}}="hiddenStructure"
+
|-  
| colspan="2" style="text-align: center;" | [[Image:{{{image|}}}|225px| ]]<br>{{{caption|}}}
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image|}}}|225px| ]]<br>{{{caption|}}}}}
 
|- style="vertical-align: top;"  
 
|- style="vertical-align: top;"  
 
! Born
 
! Born
 
| {{{birth_date}}} <BR> {{{birth_place|}}}
 
| {{{birth_date}}} <BR> {{{birth_place|}}}
|- class{{{death_date|}}}="hiddenStructure" 
+
|-  
 +
{{#if: {{{death_date|}}}|
 
! Died
 
! Died
{{{death_date|}}} <BR> {{{death_place|}}}
+
{{!}} {{{death_date|}}} <BR> {{{death_place|}}}}}
|- class{{{title|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{title|}}}|
 
! Title
 
! Title
| {{{title|}}}
+
{{!}} {{{title|}}}}}
|- class{{{salary|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{salary|}}}|
 
! Salary
 
! Salary
| {{{salary|}}}
+
{{!}} {{{salary|}}}}}
|- class{{{term|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{term|}}}|
 
! Term
 
! Term
| {{{term|}}}
+
{{!}} {{{term|}}}}}
|- class{{{predecessor|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{predecessor|}}}|
 
! Predecessor
 
! Predecessor
| {{{predecessor|}}}
+
{{!}} {{{predecessor|}}}}}
|- class{{{successor|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{successor|}}}|
 
! Successor
 
! Successor
| {{{successor|}}}
+
{{!}} {{{successor|}}}}}
|- class{{{party|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{party|}}}|
 
! Political&nbsp;party
 
! Political&nbsp;party
| {{{party|}}}
+
{{!}} {{{party|}}}}}
|- class{{{boards|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{boards|}}}|
 
! Boards on
 
! Boards on
| {{{boards|}}}
+
{{!}} {{{boards|}}}}}
|- class{{{religion|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{religion|}}}|
 
! Religion
 
! Religion
| {{{religion|}}}
+
{{!}} {{{religion|}}}}}
|- class{{{spouse|}}}="hiddenStructure"
+
|-  
 +
{{#if: {{{spouse|}}}|
 
! Spouse
 
! Spouse
| {{{spouse|}}}
+
{{!}} {{{spouse|}}}}}
|- class{{{children|}}}="hiddenStructure"  
+
|-  
 +
{{#if: {{{children|}}}|  
 
! Children
 
! Children
| {{{children|}}}
+
{{!}} {{{children|}}}}}
|- class{{{website|}}}="hiddenStructure"
+
|-  
| '''Website:''' {{{website|}}}
+
{{#if: {{{website|}}}|
|- class{{{footnotes|}}}="hiddenStructure"
+
{{!}} '''Website:''' {{{website|}}}}}
| colspan="2" | <small>{{{footnotes|}}}</small>
+
|-  
 +
{{#if: {{{footnotes|}}}|
 +
{{!}} colspan="2" | <small>{{{footnotes|}}}</small>}}
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 23:11, 19 April 2006

{{#if: ="infobox" style="width: 20em; font-size: 90%;"
{{{name}}}
Born {{{birth_date}}}

Usage

{{Infobox_Person | name =
| image =
| caption =
| birth_date =
| birth_place =
| death_date =
| death_place =
| title =
| salary =
| term =
| predecessor = 
| successor = 
| party = 
| boards =
| religion = 
| spouse = 
| children = 
| website = 
| footnotes = 
}}