Difference between revisions of "Template:Officeholder"
From Conservapedia
m (test a darker color) |
|||
(45 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{| class="infobox" style="float:right; font-size:85%; width:46ex;margin | + | <includeonly>{| class="infobox" style="float:right; font-size:85%; width:46ex; margin: 5px 0px 10px 20px" 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}}}}}''' | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!-}} | {{!-}} | ||
− | {{!}}colspan="2" align="center"{{!}}[[Image:{{{image}}}{{!}}200px]]}} | + | {{!}}colspan="2" align="center"{{!}}<div style="height:4px"></div> |
+ | {{(!}}style="border:1px solid #000000" cellpadding="1" cellspacing="1" | ||
+ | {{!}} | ||
+ | {{(!}}style="border:1px solid #000000" cellpadding="0" cellspacing="0" | ||
+ | {{!}}[[Image:{{{image}}}{{!}}200px]] | ||
+ | {{userboxbottom}} | ||
+ | {{userboxbottom}}<div style="height:4px"></div> | ||
+ | }} | ||
|- | |- | ||
{{{offices}}} | {{{offices}}} | ||
|- | |- | ||
− | !colspan="2" style="background:# | + | !colspan="2" style="background:#FFCCFF;font-size:110%"|Information{{#if:{{{party|}}}|<br/> |
{{!-}} | {{!-}} | ||
!Party | !Party | ||
Line 19: | Line 26: | ||
{{!}}{{{religion}}}}}{{#ifeq:{{{military}}}|y|<br/> | {{!}}{{{religion}}}}}{{#ifeq:{{{military}}}|y|<br/> | ||
{{!-}} | {{!-}} | ||
− | !colspan="2" style=" | + | !colspan="2" style="background:#E4C9FF;font-size:110%"{{!}}Military Service{{#if:{{{allegiance|}}}|<br/> |
{{!-}} | {{!-}} | ||
!Allegiance | !Allegiance | ||
Line 52: | Line 59: | ||
*'''Note:''' always double check the output - sometimes a "the" will be needed (especially for mayor of a city - "the District of Columbia") | *'''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) | *'''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: | The officers parameter of this template encloses the other two templates ... so with indentation: | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 87: | Line 90: | ||
</nowiki>	<nowiki>|state= | </nowiki>	<nowiki>|state= | ||
</nowiki>	<nowiki>|terms= | </nowiki>	<nowiki>|terms= | ||
+ | </nowiki>	<nowiki>|lieutenant=(y or n) (OR the lieutenant governor's name) | ||
+ | </nowiki>	<nowiki>|governor= (If lieutenant) | ||
</nowiki>	<nowiki>|preceded= | </nowiki>	<nowiki>|preceded= | ||
</nowiki>	<nowiki>|former=(y or n) | </nowiki>	<nowiki>|former=(y or n) | ||
Line 149: | Line 154: | ||
</nowiki>	<nowiki>|governor=(Leave blank if on federal level) | </nowiki>	<nowiki>|governor=(Leave blank if on federal level) | ||
</nowiki>	<nowiki>|president= | </nowiki>	<nowiki>|president= | ||
+ | </nowiki>	<nowiki>|terms= | ||
+ | </nowiki>	<nowiki>|preceded= | ||
+ | </nowiki>	<nowiki>|former=(y or n) | ||
+ | </nowiki>	<nowiki>|succeeded= | ||
+ | </nowiki>	<nowiki>}} | ||
+ | </nowiki>	<nowiki>{{Officeholder/chairman | ||
+ | </nowiki>	<nowiki>|party= | ||
+ | </nowiki>	<nowiki>|number= | ||
+ | </nowiki>	<nowiki>|terms= | ||
+ | </nowiki>	<nowiki>|preceded= | ||
+ | </nowiki>	<nowiki>|former=(y or n) | ||
+ | </nowiki>	<nowiki>|succeeded= | ||
+ | </nowiki>	<nowiki>}} | ||
+ | </nowiki>	<nowiki>{{Officeholder/sheriff | ||
+ | </nowiki>	<nowiki>|county= | ||
</nowiki>	<nowiki>|terms= | </nowiki>	<nowiki>|terms= | ||
</nowiki>	<nowiki>|preceded= | </nowiki>	<nowiki>|preceded= | ||
Line 191: | Line 211: | ||
{{Officeholder/governor | {{Officeholder/governor | ||
|state=Virginia | |state=Virginia | ||
+ | |number=1120th | ||
|terms=2002-2006 | |terms=2002-2006 | ||
− | |preceded=Will | + | |preceded=Will D'oh |
|succeeded=Will D'oh II | |succeeded=Will D'oh II | ||
|former=y | |former=y | ||
Line 214: | Line 235: | ||
{{Officeholder/governor | {{Officeholder/governor | ||
|state=Virginia | |state=Virginia | ||
+ | |number=1120th | ||
|terms=2005-2006 | |terms=2005-2006 | ||
− | |preceded=Will | + | |preceded=Will D'oh |
|former=y | |former=y | ||
|succeeded=Will D'oh II | |succeeded=Will D'oh II | ||
Line 321: | Line 343: | ||
}} | }} | ||
+ | {{Officeholder/chairman | ||
+ | }} | ||
{{Officeholder/misc | {{Officeholder/misc | ||
}} | }} | ||
}}</div> | }}</div> | ||
</noinclude> | </noinclude> |
Revision as of 20:40, January 24, 2021
Shell
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
|