Template:Officeholder

From Conservapedia
This is an old revision of this page, as edited by LT (Talk | contribs) at 22:55, December 28, 2020. It may differ significantly from current revision.

Jump to: navigation, search

Shell

  • Note: everything except for religion and state need to be manually linked
  • Note: leave successor blank if there is no successor
  • Note: always double check the output - sometimes a "the" will be needed (especially for mayor of a city - "the District of Columbia")
  • Note: preceded does not refer to who the subject preceded, but rather the predecessor. (so, on the page for "A" preceded="B" means is the predecessor)

The officers parameter of this template encloses the other two templates ... so with indentation:

{{Officeholder
|name=
|image=
|party=
|spouse=
|religion=
|offices=
	{{Officeholder/president
	|country=
	|number=
	|terms=
	|vp=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/vice president
	|country=
	|number=
	|terms=
	|president=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/governor
	|number=
	|state=
	|terms=
	|lieutenant=(y or n) (OR the lieutenant governor's name)
	|governor= (If lieutenant)
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/senator
	|state=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/representative
	|state=
	|district=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/mayor
	|number=
	|city=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/Supreme Court Justice
	|role=(Associate or Chief)
	|nominator=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/ambassador
	|for=
	|to=
	|president=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/attorneygeneral
	|jurisdiction=(state/country)
	|number=
	|deputy=(y or n)
	|governor=(Leave blank if on federal level)
	|president=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/secretary (cabinet)
	|of=
	|state=(if fed leave blank)
	|number=
	|deputy=(y or n)
	|governor=(Leave blank if on federal level)
	|president=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/chairman
	|party=
	|number=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/sheriff
	|county=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
	{{Officeholder/misc
	|office=
	|terms=
	|preceded=
	|former=(y or n)
	|succeeded=
	}}
|military=(y or n) #if not military leave all these out
|allegiance=
|branch=
|serviceyears=
|rank=
|unit=
|commands=
|battles=
|awards=
}}

Test

Name
Benjamin Davis.jpg
U.S. Senator from Virginia
From: 2006-2007; 2008-2009
Predecessor John Doe, Johnny Dough
Successor Johnny Dough; Incumbent (no successor)
1120th Governor of Virginia
From: 2002-2006
Predecessor Will D'oh
Successor Will D'oh II
Information
Party Republican
Independent (until 2006)
Spouse(s) Jane Doe
Religion Presbyterian
{{Officeholder
|name=Name
|image=070207-F-9999W-001.jpg
|party=Republican<br/>Independent (until 2006)
|spouse=Jane Doe
|religion=Presbyterian
|offices=
{{Officeholder/senator
|state=Virginia
|terms=2006-2007; 2008-2009
|preceded=John Doe, Johnny Dough
|succeeded=Johnny Dough; Incumbent (no successor)
}}
{{Officeholder/governor
|state=Virginia
|number=1120th
|terms=2005-2006
|preceded=Will D'oh
|former=y
|succeeded=Will D'oh II
}}
}}
'

From:
Predecessor
Successor Incumbent (no successor)
U.S. Senator from [[]]
From:
Predecessor
Successor Incumbent (no successor)
U.S. Representative from [[]]'s Congressional District
From:
Predecessor
Successor Incumbent (no successor)
Mayor of
From:
Predecessor
Successor Incumbent (no successor)
(Associate or Chief) Justice of the U.S. Supreme Court
From:
Nominator
Predecessor
Successor Incumbent (no successor)
[[]] Ambassador to [[]]
From:
President
Predecessor
Successor Incumbent (no successor)
Attorney General of (state/country)
From:
Governor (Leave blank if on federal level)
Predecessor
Successor Incumbent (no successor)
(if fed leave blank) Secretary of
From:
Governor (Leave blank if on federal level)
Predecessor
Successor Incumbent (no successor)
President of
From:
Vice President
Predecessor
Successor Incumbent (no successor)
Vice President of
From:
President {{{president}}}
Predecessor
Successor Incumbent (no successor)
Chairman of [[{{{party}}}]]
From: {{{terms}}}
Predecessor {{{preceded}}}
Successor Incumbent (no successor)
{{{office}}}
From: {{{terms}}}
Predecessor {{{preceded}}}
Successor Incumbent (no successor)
Information