Difference between revisions of "Template:Infobox Congressman"

From blackwiki
Jump to navigation Jump to search
imported>Philip Stevens
(rm duplication)
imported>Philip Stevens
(Redirected page to Template:Infobox Officeholder)
Line 1: Line 1:
{| class="infobox" style="width:23em; font-size:90%; text-align:left; padding-left:0.5em; padding-right:0.5em;"
+
#REDIRECT [[Template:Infobox Officeholder]]
|-
 
<!----------Name---------->
 
|colspan="2" style="text-align: center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
 
 
<!----------Image---------->
 
{{#if:{{{image name|}}} |<!--then:-->
 
{{!}}colspan="2" style="text-align:center;"{{!}} [[Image:{{{image name}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|160px}}|{{PAGENAME}}]]<br/>
 
<small>{{{caption|}}}<small/>
 
{{!-}}
 
}}
 
{{#if:{{{smallimage|}}} |<!--then:-->
 
{{!}}colspan="2" style="text-align:center;"{{!}} [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/><small>{{{caption|}}}</small>
 
{{!-}}
 
}}
 
 
 
<!----------Speaker of the House---------->
 
{{#if:{{{speaker|}}} |<!--then:-->
 
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{speaker}}} [[Speaker of the United States House of Representatives|Speaker of the U.S. House of Representatives]]</div>
 
{{!-}}
 
}}
 
{{#if:{{{term_start2|}}} |<!--then:-->
 
{{#if:{{{term_end2|}}}
 
|<!--then:--> <!--term has start and end-->
 
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}
 
{{!-}}
 
|<!--else:--> <!--term is ongoing-->
 
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
 
{{!-}}
 
}}
 
{{#if:{{{term_end2|}}}
 
|<!--then:--> <!--(nothing; term has ended)-->
 
|<!--else:-->
 
{{!}}colspan="2" style="text-align:center;"{{!}} '''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}}
 
{{!-}}
 
}}
 
}}
 
 
 
<!----------Second predecessor/successor---------->
 
{{#if:{{{predecessor2|}}} |<!--then:-->
 
! Preceded&nbsp;by
 
{{!}} {{{predecessor2}}}
 
{{!-}}
 
}}
 
{{#if:{{{successor2|}}} |<!--then:-->
 
! Succeeded&nbsp;by
 
{{!}} {{{successor2}}}
 
{{!-}}
 
}}
 
 
 
 
 
<!----------Office---------->
 
{{#if: {{{succeeding|}}}|{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">Representative-elect{{#if:{{{state|}}}|&nbsp;from<br>{{{state}}}'s {{{district}}}}}
 
{{!-}}|{{#if:{{{state|}}} |<!--then:-->
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">'''Member of the [[United States House of Representatives|U.S. House of Representatives]]<br>from {{{state}}}'s {{{district}}} district'''</div>
 
{{!-}}
 
}}
 
}}
 
<!----------Term---------->
 
{{#if: {{{term|}}}|<!--then:-->
 
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term}}}
 
{{!-}}
 
}}
 
{{#if: {{{term_start|}}}|<!--then:-->
 
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
 
{{!-}}
 
}}
 
{{#if: {{{term_start|}}}|<!--then:-->
 
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed &nbsp;office&nbsp;'''<br>{{{term_start}}}
 
{{!-}}
 
}}
 
 
 
 
 
<!----------Predecessor/Successor---------->
 
{{#if:{{{succeeding|}}} |<!--then:-->
 
! Succeeeding
 
{{!}} {{{succeeding}}}
 
{{!-}}
 
}}
 
{{#if:{{{preceded|}}} |<!--then:-->
 
! Preceded&nbsp;by
 
{{!}} {{{preceded}}}
 
{{!-}}
 
}}
 
{{#if:{{{succeeded|}}} |<!--then:-->
 
! Succeeded&nbsp;by
 
{{!}} {{{succeeded}}}
 
{{!-}}
 
}}
 
 
 
<!----------Birth/Death---------->
 
|-
 
|colspan="2"| <hr>
 
|-
 
! Born
 
| {{{date of birth|}}}<br/>{{{place of birth|}}}
 
|-
 
{{#if:{{{date of death|}}} |<!--then:-->
 
! Died
 
{{!}} {{{date of death}}}<br/>{{{place of death|}}}
 
{{!-}}
 
}}
 
 
 
<!----------Party---------->
 
{{#if:{{{party|}}} |<!--then:-->
 
! Political&nbsp;party
 
{{!}} {{#switch:{{{party}}}
 
| [[United States Democratic Party|Democrat]]
 
| [[Democratic Party (United States)|Democratic]]
 
| [[Democratic Party (United States)|Democrat]] = [[Democratic Party (United States)|Democratic]]
 
| [[Republican Party (United States)|Republican]]
 
| [[United States Republican Party]]
 
| [[United States Republican Party|Republican]]
 
| [[Republican Party (United States)|Republican Party]] = [[Republican Party (United States)|Republican]]
 
| [[Conservative Party (UK)|Conservative Party]]
 
| [[Conservative Party (UK)|Conservative]] = [[Conservative Party (UK)|Conservative]]
 
| [[Labour Party (UK)|Labour Party]]
 
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]]
 
| {{{party}}} }}
 
{{!-}}
 
}}
 
 
 
<!----------Spouse etc.---------->
 
{{#if:{{{spouse|}}} |<!--then:-->
 
! Spouse
 
{{!}} {{{spouse}}}
 
{{!-}}
 
}}
 
{{#if:{{{profession|}}} |<!--then:-->
 
! Profession
 
{{!}} {{{profession}}}
 
{{!-}}
 
}}
 
{{#if:{{{religion|}}} |<!--then:-->
 
! Religion
 
{{!}} {{{religion}}}
 
{{!-}}
 
}}
 
{{#if:{{{signature|}}} |<!--then:-->
 
! Signature
 
{{!}} [[Image:{{{signature}}}|128px]]
 
{{!-}}
 
}}
 
{{#if:{{{footnotes|}}} |<!--then:-->
 
{{!}}colspan="2" style="border-top:1px solid; font-size:90%;"{{!}} {{{footnotes}}}
 
{{!-}}
 
}}
 
|}<noinclude>{{clear}}<br><hr><br>{{esoteric}}
 
 
 
==Usage==
 
Copy and paste the template below:
 
<pre>
 
{{Infobox_Congressman
 
| name=
 
| image name=
 
| state=
 
| district=
 
| term=
 
| preceded=
 
| succeeded=
 
| date of birth=
 
| place of birth=
 
| date of death=
 
| place of death=
 
| spouse=
 
| profession=
 
| religion=
 
| party=
 
|}}
 
</pre>
 
 
 
If Congressman is incumbent, use "term_start=" instead of "term=".
 
 
 
If Congressman served as Speaker of the House add:
 
<pre>
 
|speaker= (number of office holder)
 
|term_start2=
 
|term_end2=
 
|predecessor2=
 
|successor2=
 
</pre>
 
 
 
If Congressman has been elected but not sworn in:
 
<pre>
 
| succeeding= (the name of the incumbent congressman)
 
</pre>
 
 
 
[[Category:people infobox templates|Congressman]]
 
[[Category:politics infobox templates|Congressman]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
 
{{sprotected2}}
 
</noinclude>
 

Revision as of 19:09, 3 May 2007