Template:Infobox Officeholder: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
(Thinking with fixes this template can work for all officeholders, currently up to 3 offices, which can be expanded as needed in template)
m (terminology - Electoral District)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox vcard" style="font-size:90%; width:23em;"
{| 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}}}}}}}}
! class="fn n org" style="text-align:center; font-size:120%;" colspan="2" | {{{name|{{{name|{{PAGENAME}}}}}}}}
Line 15: Line 15:
{{#if:{{{district1|}}} |<nowiki/>
{{#if:{{{district1|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}}  {{{district1|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district1|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
Line 46: Line 46:
{{#if:{{{district2|}}} |<nowiki/>
{{#if:{{{district2|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}}  {{{district2|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district2|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
Line 77: Line 77:
{{#if:{{{district3|}}} |<nowiki/>
{{#if:{{{district3|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''District''' {{!!}}  {{{district3|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district3|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
Line 98: Line 98:
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}}  {{{succeeded3|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}}  {{{succeeded3|}}}
{{!!}} }}
{{!}}-
<!----------Office4---------->
{{#if:{{{office4|}}} |<nowiki/>
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office4|}}}</div>
{{!!}} }}
{{!}}-
{{#if:{{{district4|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district4|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_start4|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}}  {{{term_start4|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_end4|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}}  {{{term_end4|}}}
{{!!}} }}
{{!}}-
{{#if:{{{preceded4|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}}  {{{preceded4|}}}
{{!!}} }}
{{!}}-
{{#if:{{{succeeded4|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}}  {{{succeeded4|}}}
{{!!}} }}
{{!}}-
<!----------Office5---------->
{{#if:{{{office5|}}} |<nowiki/>
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office5|}}}</div>
{{!!}} }}
{{!}}-
{{#if:{{{district5|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district5|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_start5|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}}  {{{term_start5|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_end5|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}}  {{{term_end5|}}}
{{!!}} }}
{{!}}-
{{#if:{{{preceded5|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}}  {{{preceded5|}}}
{{!!}} }}
{{!}}-
{{#if:{{{succeeded5|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}}  {{{succeeded5|}}}
{{!!}} }}
{{!}}-
<!----------Office6---------->
{{#if:{{{office6|}}} |<nowiki/>
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office6|}}}</div>
{{!!}} }}
{{!}}-
{{#if:{{{district6|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Electoral District''' {{!!}}  {{{district6|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_start6|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term Start''' {{!!}}  {{{term_start6|}}}
{{!!}} }}
{{!}}-
{{#if:{{{term_end6|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Term End''' {{!!}}  {{{term_end6|}}}
{{!!}} }}
{{!}}-
{{#if:{{{preceded6|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Preceded by''' {{!!}}  {{{preceded6|}}}
{{!!}} }}
{{!}}-
{{#if:{{{succeeded6|}}} |<nowiki/>
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Succeeded by''' {{!!}}  {{{succeeded6|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
Line 162: Line 255:
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
{{#if:{{{vpapid|}}} |
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Campaign $''' {{!!}}  [http://www.vpap.org/candidates/profile/home/{{{vpapid|}}} VPAP]
{{!!}}
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  [http://www.vpap.org/donors/profile/index/{{{vpapid|}}} VPAP]
{{!!}}
|{{!}}-
{{#if:{{{vpap|}}} |<nowiki/>
{{#if:{{{vpap|}}} |<nowiki/>
{{!}}-
{{!}}-
Line 171: Line 273:
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  {{{vpap_donations|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  {{{vpap_donations|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}- }}
|}</includeonly><noinclude>
|}<noinclude>
 
{{infobox Officeholder/doc}}
</noinclude>
</noinclude>

Latest revision as of 12:19, 27 July 2019

Infobox Officeholder

Biographical Information

Usage

Use with a person who holds or has held public office.

Parameters

VPAP

For information on the Virginia Public Access Project site.

vpapid

People on the VPAP site are identified by number, which is then used in various URL. Use of this parameter is preferred.

vpap and vpap_donations

A URL for each, for the campaign and donors for this vpapid.

Info copied from old help page

Sally Thomas
SallyThomas2004.jpg
Supervisor Sally Thomas (I-Samuel Miller)

Electoral District Samuel Miller
Term Start 1994

Term Start 2001
Term End 2002

Electoral District At-Large (Appointed)
Term Start 1980
Term End 1983

Biographical Information

Spouse George Thomas
Residence Ivy, Virginia

Example: Sally Thomas

{{Infobox Officeholder
| name =
| photo =
| caption =
| office1=
| district1 =
| term_start1 =
| term_end1 =
| preceded1 =
| succeeded1 =
| office2=
| district2 =
| term_start2 =
| term_end2 =
| preceded2 =
| succeeded2 =
| office3=
| district3 =
| term_start3 =
| term_end3 =
| preceded3 =
| succeeded3 =
| birth_date =
| date_of_death =
| birth_place =
| place_of_death =
| spouse =
| children =
| residence =
| alma_mater =
| profession =
| religion =
| website =
| vpapid =
| vpap =
| vpap_donations =
}}