Difference between revisions of "Template:Infobox Politician"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m
 
(17 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{!}} colspan="2" align="center" {{!}} [[Image:{{{image_name}}}|{{{image_size|180x180px}}}|center]] {{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>|}}|}}
 
{{!}} colspan="2" align="center" {{!}} [[Image:{{{image_name}}}|{{{image_size|180x180px}}}|center]] {{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>|}}|}}
 
|-
 
|-
{{#if:{{{current_office|}}}|
+
{{!}} colspan="2" {{!}}
{{!}} colspan="2" valign="top" style="text-align:center; font-weight:bold;" {{!}} {{{current_office}}}{{#if:{{{district|}}}|<br/><span style="font-size: 90%;">{{{district}}}</span>
+
----
 +
|-
 +
{{#if:{{{office|}}}|
 +
{{!}} colspan="2" valign="top" style="text-align:center; font-weight:bold; background-color: #e9e9e9;" {{!}} {{{office}}}{{#if:{{{district|}}}|<br/><span style="font-size: 90%;">{{{district}}}</span>
 
}}}}
 
}}}}
----
 
 
|-
 
|-
{{#if:{{{took_office|}}}|
+
{{#if:{{{in_office|}}}|
{{!}} valign="top" style="text-align:right;" {{!}} '''Took office'''
+
{{!}} colspan="2" valign="top" style="text-align:center;" {{!}} '''In office'''&nbsp;{{{in_office}}}
{{!}}{{{took_office}}}
 
 
}}
 
}}
 
|-
 
|-
{{#if:{{{term_expires|}}}|
+
{{#if:{{{office_2|}}}|
{{!}} valign="top" style="text-align:right;" {{!}} '''Term expires'''
+
{{!}} colspan="2" valign="top" style="text-align:center; font-weight:bold; background-color: #e9e9e9;" {{!}} {{{office_2}}}{{#if:{{{district_2|}}}|<br/><span style="font-size: 90%;">{{{district_2}}}</span>
{{!}}{{{term_expires}}}
+
}}}}
 +
|-
 +
{{#if:{{{in_office_2|}}}|
 +
{{!}} colspan="2" valign="top" style="text-align:center;" {{!}} '''In office'''&nbsp;{{{in_office_2}}}
 
}}
 
}}
 +
|-
 +
{{!}} colspan="2" {{!}}
 +
----
 
|-
 
|-
 
{{#if:{{{date_of_birth|}}}|
 
{{#if:{{{date_of_birth|}}}|
Line 33: Line 40:
 
|-
 
|-
 
{{#if:{{{occupation|}}}|
 
{{#if:{{{occupation|}}}|
{{!}} valign="top" style="text-align:right;" {{!}} '''Other occupation'''
+
{{!}} valign="top" style="text-align:right;" {{!}} '''Occupation'''
 
{{!}}{{{occupation}}}
 
{{!}}{{{occupation}}}
 
}}
 
}}

Latest revision as of 13:28, 29 December 2008


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

Usage[edit]

This infobox may be added by pasting the template as shown below into an article.

{{Infobox Politician
| subject_name   =
| image_name     =
| image_size     =
| image_caption  =
| office         =
| district       =
| in_office      =
| office_2       =
| district_2     =
| in_office_2    =
| date_of_birth  =
| place_of_birth =
| date_of_death  =
| place_of_death =
| occupation     =
| religion       =
| spouse         =
| parents        =
| children       =
| signature      =
| signaturesize  =
}}

Parameters[edit]

Parameter Explanation
subject_name Insert name of person.
image_name Insert *.jpg image.
image_size Insert image width (defaults to 180x180px if empty).
image_caption Insert photograph caption. Try to include date of photo and the photographer.
date_of_birth Insert date of birth: month, day, year.
place_of_birth Insert place of birth: town, city, country.
date_of_death Insert date of death: month, day, year.
place_of_death Insert place of death: town, city, country.
occupation Insert the person's occupation.
spouse Insert the names of the person's spouses, followed by the years of marriage. Use the format: Name (Year[hyphen]Year) [or] (Year-present). Separate entries with a line break (<br />).
parents Insert the names of the person's parents. Separate entries with a line break (<br />).
children Insert the names of the person's children. Separate entries with a line break (<br />).
signature Image file of person's signature (preferably PNG transparent background). Primarily used for historical figures.
signaturesize Insert image width (defaults to 200px if empty).