Difference between revisions of "Template:Infobox senator"

From blackwiki
Jump to navigation Jump to search
imported>Philip Stevens
(added of)
imported>Pigsonthewing
(add hcard microformat - see WP:UF)
Line 1: Line 1:
{| class="infobox" style="width:23em; font-size:90%; text-align:left; padding-left:0.5em; padding-right:0.5em;"
+
{| class="infobox vcard" style="width:23em; font-size:90%; text-align:left; padding-left:0.5em; padding-right:0.5em;"
 
|-
 
|-
 
<!----------Name---------->
 
<!----------Name---------->
|colspan="2" style="text-align: center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''
+
|colspan="2" style="text-align: center; font-size:140%;" class="fn"| '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
  
Line 86: Line 86:
  
 
<!----------Office---------->
 
<!----------Office---------->
<!----------Use Junior or Senior if Senator is currenlty the incumbent, use United States Senator if no longer holding office---------->
+
<!----------Use Junior or Senior if Senator is currently the incumbent, use United States Senator if no longer holding office---------->
 
{{#if:{{{jr/sr|}}} |<!--then:-->  
 
{{#if:{{{jr/sr|}}} |<!--then:-->  
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">[[United States Senate|{{{jr/sr}}}{{#if:{{{succeeding|}}} |<!--then:-->-Elect}}]]<br>from {{{state}}}</div>
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">[[United States Senate|{{{jr/sr}}}{{#if:{{{succeeding|}}} |<!--then:-->-Elect}}]]<br>from {{{state}}}</div>
Line 188: Line 188:
 
| [[Labour Party (UK)|Labour Party]]
 
| [[Labour Party (UK)|Labour Party]]
 
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]]
 
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]]
| {{{party}}} }}
+
| <span class="org">{{{party}}}</span> }}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 271: Line 271:
 
| succeeded4=
 
| succeeded4=
 
</pre>
 
</pre>
 +
 +
==Microformat==
 +
{{UF-hcard-person}}
  
 
[[Category:people infobox templates|Senator]]
 
[[Category:people infobox templates|Senator]]

Revision as of 01:30, 22 April 2007

Infobox senator

Born




Usage

Copy and paste the template below:

{{Infobox_Senator 
| name=
| image name=
| imagesize=
| jr/sr=
| state=
| term=
| preceded=
| succeeded=
| date of birth=
| place of birth=
| date of death=
| place of death=
| spouse=
| profession=
| religion=
| party=
| signature=
|}}

If Senator is incumbent, use "term_start=" instead of "term=" and add:

| alongside= (the name of fellow senator)

If Senator has just been elected and is a Senator-Elect:

| succeeding= (the name of the incumbent senator)

If Senator served as Senate Majority Leader add:

|majorityleader= (number of office holder)
|term_start2=
|term_end2=
|predecessor2=
|successor2=

If Senator served as Congressman add:

| state2= 
| district=
| term4=
| preceded4=
| succeeded4=

Microformat

Template:UF-hcard-person