Template:Infobox Officeholder: Difference between revisions
Jump to navigation
Jump to search
1099047208 (talk | contribs) |
1099047208 (talk | contribs) (Thinking with fixes this template can work for all officeholders, currently up to 3 offices, which can be expanded as needed in template) |
||
Line 1: | Line 1: | ||
# | <includeonly>{| class="infobox vcard" style="font-size:90%; width:23em;" | ||
|- | |||
! class="fn n org" style="text-align:center; font-size:120%;" colspan="2" | {{{name|{{{name|{{PAGENAME}}}}}}}} | |||
|- | |||
{{#if:{{{photo|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center; padding:16px 0 16px 0;" {{!}} [[Image:{{{photo}}}|200px]]<br>{{{caption}}}{{!!}} }} | |||
{{!}}- | |||
<!----------Office1----------> | |||
{{#if:{{{office1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office1|}}}</div> | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{district1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}} {{{district1|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_start1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}} {{{term_start1|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_end1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}} {{{term_end1|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{preceded1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}} {{{preceded1|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{succeeded1|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}} {{{succeeded1|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
<!----------Office2----------> | |||
{{#if:{{{office2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office2|}}}</div> | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{district2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}} {{{district2|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_start2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}} {{{term_start2|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_end2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}} {{{term_end2|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{preceded2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}} {{{preceded2|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{succeeded2|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}} {{{succeeded2|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
<!----------Office3----------> | |||
{{#if:{{{office3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office3|}}}</div> | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{district3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}} {{{district3|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_start3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}} {{{term_start3|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{term_end3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}} {{{term_end3|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{preceded3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}} {{{preceded3|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{succeeded3|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}} {{{succeeded3|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
<!----------Biographical----------> | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> Biographical Information </div> | |||
{{!!}} | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/> | |||
{{!!}} | |||
{{#if:{{{birth_date|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Date of birth''' {{!!}} {{{birth_date|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{date_of_death|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Date of death''' {{!!}} {{{date_of_death|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{birth_place|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Place of birth''' {{!!}} {{{birth_place|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{place_of_death|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Place of death''' {{!!}} {{{place_of_death|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{spouse|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Spouse''' {{!!}} {{{spouse|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{children|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Children''' {{!!}} {{{children|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{residence|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Residence''' {{!!}} {{{residence|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{alma_mater|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Alma mater''' {{!!}} {{{alma_mater|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{profession|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Profession''' {{!!}} {{{profession|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{religion|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Religion''' {{!!}} {{{religion|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{website|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Website''' {{!!}} {{{website|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{vpap|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Campaign $''' {{!!}} {{{vpap|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
{{#if:{{{vpap_donations|}}} |<nowiki/> | |||
{{!}}- | |||
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}} {{{vpap_donations|}}} | |||
{{!!}} }} | |||
{{!}}- | |||
|}</includeonly><noinclude> | |||
</noinclude> |
Revision as of 16:43, 3 November 2009