Difference between revisions of "Template:Officeholder"

From Conservapedia
Jump to navigation Jump to search
(Undo revision 1105855 by MattyT (talk))
Line 1: Line 1:
−
<includeonly>{| class="infobox" style="float:right; font-size:85%; width:46ex;margin-left:5px" cellpadding="2" cellspacing="4"
+
{{Delete Notice}}<includeonly>{| class="infobox" style="float:right; font-size:85%; width:46ex;margin-left:5px" cellpadding="2" cellspacing="4"
 
|-
 
|-
 
!colspan="2" align="center" style="color: white; font-size: 125%; height: 20px; line-height:20px; background: #330033"|'''{{{name|{{PAGENAME}}}}}'''
 
!colspan="2" align="center" style="color: white; font-size: 125%; height: 20px; line-height:20px; background: #330033"|'''{{{name|{{PAGENAME}}}}}'''

Revision as of 19:29, January 6, 2015

Template:Delete Notice

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

Template:Delete Notice{| class="infobox" style="float:right; font-size:85%; width:46ex;margin-left:5px" cellpadding="2" cellspacing="4"

Name
200px
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
}}
}}

|}

Template:Delete Notice{| class="infobox" style="float:right; font-size:85%; width:46ex;margin-left:5px" cellpadding="2" cellspacing="4"

|- !colspan="2" align="center" style="color: white; font-size: 125%; height: 20px; line-height:20px; background: #330033"|'

|- !colspan="2" style="background:#D7D9FF;"|
From: |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|U.S. Senator from [[]]
From: |- |Predecessor|| |- |Successor||Incumbent (no successor) |-


!colspan="2" style="background:#D7D9FF;"|U.S. Representative from [[]]'s Congressional District
From: |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|Mayor of
From: |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|(Associate or Chief) Justice of the U.S. Supreme Court
From: |- |Nominator|| |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|[[]] Ambassador to [[]]
From: |- |President|| |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|Attorney General of (state/country)
From: |- |Governor||(Leave blank if on federal level) |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|(if fed leave blank) Secretary of
From: |- |Governor||(Leave blank if on federal level) |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|President of
From: |- |Vice President|| |- |Predecessor|| |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|Vice President of
From: |- |President||{{{president}}} |- |Predecessor|| |- |Successor||Incumbent (no successor) |-

!colspan="2" style="background:#D7D9FF;"|Chairman of [[{{{party}}}]]
From: {{{terms}}} |- |Predecessor||{{{preceded}}} |- |Successor||Incumbent (no successor) |- !colspan="2" style="background:#D7D9FF;"|{{{office}}}
From: {{{terms}}} |- |Predecessor||{{{preceded}}} |- |Successor||Incumbent (no successor) |- |- !colspan="2" style="background:#FFCCFF;font-size:110%"|Information

|}