Template:Politician

From OpenCongress Wiki

(Difference between revisions)
Jump to: navigation, search
(Replaced #set back with bracket notation - there seems to be a bug with #set)
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
This is the 'Politician' template.
 +
It should be called in the following format:
 +
<pre>{{Politician
  
{{#if:{{{District Office 1 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 1 Address|}| ]] }}| ]] }}
+
<!--From wikipedia-->
{{#if:{{{District Office 2 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 2 Address|}| ]] }}| ]] }}
+
|term_start=
{{#if:{{{District Office 3 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 3 Address|}| ]] }}| ]] }}
+
|term_end=
{{#if:{{{District Office 4 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 4 Address|}| ]] }}| ]] }}
+
|otherparty =
{{#if:{{{District Office 5 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 5 Address|}| ]] }}| ]] }}
+
 
{{#if:{{{District Office 6 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 6 Address|}| ]] }}| ]] }}
+
<!-- From Cause Caller -->
{{#if:{{{District Office 7 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 7 Address|}| ]] }}| ]] }}
+
|Birth=
{{#if:{{{District Office 8 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 8 Address|}| ]] }}| ]] }}
+
|First Elected=
{{#if:{{{District Office 9 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 9 Address|}| ]] }}| ]] }}
+
|Next Election=
{{#ifeq:{{#show:{{PAGENAME}}|? State}}|AL|[[Full state name::Alabama| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AK|[[Full state name::Alaska| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AZ|[[Full state name::Arizona| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AR|[[Full state name::Arkansas| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CA|[[Full state name::California| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CO|[[Full state name::Colorado| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CT|[[Full state name::Connecticut| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|DE|[[Full state name::Delaware| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|FL|[[Full state name::Florida| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|GA|[[Full state name::Georgia| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|HI|[[Full state name::Hawaii| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ID|[[Full state name::Idaho| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IL|[[Full state name::Illinois| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IN|[[Full state name::Indiana| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IA|[[Full state name::Iowa| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|KS|[[Full state name::Kansas| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|KY|[[Full state name::Kentucky| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|LA|[[Full state name::Louisiana| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ME|[[Full state name::Maine| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MD|[[Full state name::Maryland| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MA|[[Full state name::Massachusetts| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MI|[[Full state name::Michigan| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MN|[[Full state name::Minnesota| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MS|[[Full state name::Mississippi| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MO|[[Full state name::Missouri| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MT|[[Full state name::Montana| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NE|[[Full state name::Nebraska| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NV|[[Full state name::Nevada| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NH|[[Full state name::New Hampshire| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NJ|[[Full state name::New Jersey| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NM|[[Full state name::New Mexico| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NY|[[Full state name::New York| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NC|[[Full state name::North Carolina| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ND|[[Full state name::North Dakota| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OH|[[Full state name::Ohio| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OK|[[Full state name::Oklahoma| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OR|[[Full state name::Oregon| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|PA|[[Full state name::Pennsylvania| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|RI|[[Full state name::Rhode Island| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|SC|[[Full state name::South Carolina| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|SD|[[Full state name::South Dakota| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|TN|[[Full state name::Tennessee| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|TX|[[Full state name::Texas| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|UT|[[Full state name::Utah| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|VT|[[Full state name::Vermont| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|VA|[[Full state name::Virginia| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WA|[[Full state name::Washington State| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WV|[[Full state name::West Virginia| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WI|[[Full state name::Wisconsin| ]] }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WY|[[Full state name::Wyoming| ]] }}
+
|110th Leadership=
 +
|Freshman=
 +
|Previous Political Work=
 +
|110th Committee Membership=
 +
|Zip Code Affiliations=
 +
 
 +
<!-- NEW -->
 +
|Current Office=
 +
|110th Committee Chairs=
 +
|110th Committee Ranking Member=
 +
|111th Leadership=
 +
|111th Committee Membership=
 +
|111th Committee Chairs=
 +
|111th Committee Ranking Member=
 +
|111th Caucuses
 +
 
 +
<!-- From Congresspedia -->
 +
|110th Caucuses =
 +
|District Office 1 Address=
 +
|District Office 1 Phone=
 +
|District Office 1 Fax=
 +
|District Office 2 Address=
 +
|District Office 2 Phone=
 +
|District Office 2 Fax=
 +
|District Office 3 Address=
 +
|District Office 3 Phone=
 +
|District Office 3 Fax=
 +
|District Office 4 Address=
 +
|District Office 4 Phone=
 +
|District Office 4 Fax=
 +
|District Office 5 Address=
 +
|District Office 5 Phone=
 +
|District Office 5 Fax=
 +
|District Office 6 Address=
 +
|District Office 6 Phone=
 +
|District Office 6 Fax=
 +
|District Office 7 Address=
 +
|District Office 7 Phone=
 +
|District Office 7 Fax=
 +
|District Office 8 Address=
 +
|District Office 8 Phone=
 +
|District Office 8 Fax=
 +
|District Office 9 Address=
 +
|District Office 9 Phone=
 +
|District Office 9 Fax=
 +
|Campaign E-mail=
 +
|Campaign E-mail Link=
 +
|Campaign Homepage=
 +
|Campaign Office 1 Address=
 +
|Campaign Office 1 Phone=
 +
|Campaign Office 1 Fax=
 +
|Campaign Office 2 Address=
 +
|Campaign Office 2 Phone=
 +
|Campaign Office 2 Fax=
 +
|Campaign Office 3 Address=
 +
|Campaign Office 3 Phone=
 +
|Campaign Office 3 Fax=
 +
|Campaign Office 4 Address=
 +
|Campaign Office 4 Phone=
 +
|Campaign Office 4 Fax=
 +
|Campaign Office 5 Address=
 +
|Campaign Office 5 Phone=
 +
|Campaign Office 5 Fax=
 +
}}
 +
</pre>
 +
Edit the page to see the template text:
 +
</noinclude>
 +
{{#get_external_data:http://services.sunlightlabs.com/api/legislators.getList.xml?apikey=SL_API&congresspedia_url=http://www.opencongress.org/wiki/{{PAGENAMEE}}|xml|title=title |firstname=firstname|middlename=middlename|lastname=lastname|name_suffix=name_suffix|nickname=nickname| party=party|state=state|district=district|in_office=in_office|gender=gender|phone=phone|fax=fax|website=website|webform=webform| email=email| congress_office=congress_office|bioguide_id=bioguide_id|votesmart_id=votesmart_id| fec_id=fec_id|govtrack_id=govtrack_id|crp_id=crp_id|eventful_id=eventful_id|sunlight_old_id=sunlight_old_id| twitter_id=twitter_id|congresspedia_url=congresspedia_url|youtube_url=youtube_url|senate_class=senate_class}}
 +
<big>'''Semantic data'''</big>
 +
(<span class="plainlinks">[http://www.opencongress.org/w/index.php?title={{PAGENAMEE}}&action=formedit Edit data]</span>)
 +
{| class="wikitable collapsible collapsed"
 +
|-
 +
!colspan="4" align="center"|From the Sunlight Foundation API
 +
|-
 +
!colspan="4" align="center"|Current Office: {{{Current Office}}}
 +
|-
 +
|'''Title: [[Title::{{#external_value:title}}]]
 +
|'''First name:''' [[First name::{{#external_value:firstname}}]]
 +
|'''Middle name:''' [[Middle name::{{#external_value:middlename}}]]
 +
|'''Last name:''' [[Last name::{{#external_value:lastname}}]]
 +
|-
 +
|colspan="2"|'''Suffix:''' {{#external_value:name_suffix}}
 +
|colspan="2"|'''Nickname:''' {{#external_value:nickname}}
 +
|-
 +
|'''Party:''' [[Party::{{#external_value:party}}]]
 +
|'''State:''' [[State::{{#external_value:state}}]]
 +
|'''District:'''
 +
 
 +
{{#ifeq:{{#external_value:district}}|0|[[District::AL]]|[[District::{{padleft:{{#external_value:district}}|2}}]]}} '''District short:''' [[District short::{{#external_value:district}}]]
 +
|'''Currently in office?''' {{#external_value:in_office}}
 +
|-
 +
|colspan="4"|'''Gender:''' {{#external_value:gender}}
 +
|-
 +
|'''Phone:''' [[Phone::{{#external_value:phone}}]]
 +
|'''Fax:''' [[Fax::{{#external_value:fax}}]]
 +
|'''Website:''' [[Website::{{#external_value:website}}]]
 +
|'''Webform email:''' [[Webform email::{{#external_value:webform}}]]<br>'''Email address:''' [[Email address::{{#external_value:email}}]]
 +
|-
 +
|colspan="4"|'''DC office:''' [[Congressional address::{{#external_value:congress_office}}]]
 +
|-
 +
|'''Bioguide ID:''' {{#external_value:bioguide_id}}
 +
|'''Votesmart ID:''' {{#external_value:votesmart_id}}
 +
|'''FEC ID:''' {{#external_value:fec_id}}
 +
|'''Govtrack ID:''' [[Govtrack_id::{{#external_value:govtrack_id}}]]
 +
|-
 +
|'''CRP ID:''' {{#external_value:crp_id}}
 +
|'''Eventful ID:''' {{#external_value:eventful_id}}
 +
|'''Old Sunlight ID:''' {{#external_value:sunlight_old_id}}
 +
|'''Twitter ID:''' [[Twitter ID::{{#external_value:twitter_id}}]]
 +
|-
 +
|colspan="2"|'''OpenCongress Wiki URL:''' {{#external_value:congresspedia_url}}
 +
|'''YouTubeID:''' [[YouTubeID::{{#replace:{{#external_value:youtube_url}}|http://www.youtube.com/|}}]]
 +
|'''Senate class:''' [[Senate class::{{#external_value:senate_class}}]]
 +
|}
 +
 
 +
{| class="wikitable collapsible collapsed"
 +
|-
 +
!colspan="4" align="center"| Entered manually within the [[Template:Politician]]
 +
|-
 +
 
 +
!colspan="4" align="center"|[[Current office::{{{Current Office}}}]]
 +
|-
 +
 
 +
!colspan="4" align="center"|'''111th Congress'''
 +
|-
 +
 
 +
|'''Leadership Position:'''<br/>[[111th leadership::{{{111th Leadership|}}}]]
 +
|'''Committees Chaired:'''<br/>
 +
 
 +
|'''Committees,<br/> Ranking Member On:'''<br/>
 +
 
 +
|'''Caucuses:'''<br/>
 +
 
 +
|-
 +
 
 +
!colspan="4" align="center"|'''110th Congress'''
 +
|-
 +
|'''Leadership Position:'''<br/>[[110th leadership::{{{110th Leadership|}}}]]
 +
|'''Committees Chaired:'''<br/>
 +
 
 +
|'''Committees,<br/> Ranking Member On:'''<br/>
 +
 
 +
|'''Caucuses:'''<br/>
 +
 
 +
|-
 +
|colspan="4"|'''Committees:'''
 +
 
 +
|-
 +
 
 +
!colspan="4" align="center"|Congressional Career
 +
|-
 +
|'''First Elected to Current Office:'''<br/>[[First elected::{{{First Elected|}}}]]
 +
|'''First Took Current Office:'''<br/>[[term start::{{{term_start|}}}]]
 +
|'''Next Election:'''<br/>[[Next election::{{{Next Election|}}}]]
 +
|'''Term Ends:'''<br/>[[term end:::{{{term_end|}}}]]
 +
|-
 +
|'''Freshman Member?'''<br/> [[Freshman::{{{Freshman|}}}]]
 +
|'''Previous Political Work?'''<br/>
 +
{{#arraymap:{{{Previous Political Work|}}}|,|x|[[Previous political work::x]]}}
 +
|colspan="2"|'''Other Party Membership:''' [[otherparty::{{{otherparty|}}}]]
 +
|-
 +
 
 +
!colspan="4" align="center"|District Offices:
 +
|-
 +
|colspan="4"|
 +
* [[District office 1 address::{{{District Office 1 Address|}}}]] <br/>Phone: [[District office 1 phone::{{{District Office 1 Phone|}}}]] / Fax: [[District 1 fax::{{{District Office 1 Fax|}}}]] {{#if:{{{District Office 2 Address|}}}|
 +
* [[District office 2 address::{{{District Office 2 Address|}}}]] <br/>Phone: [[District office 2 phone::{{{District Office 2 Phone|}}}]] / Fax: [[District 2 fax::{{{District Office 2 Fax|}}}]]}} {{#if:{{{District Office 3 Address|}}}|
 +
* [[District office 3 address::{{{District Office 3 Address|}}}]] <br/>Phone: [[District office 3 phone::{{{District Office 3 Phone|}}}]] / Fax: [[District 3 fax::{{{District Office 3 Fax|}}}]]}} {{#if:{{{District Office 4 Address|}}}|
 +
* [[District office 4 address::{{{District Office 4 Address|}}}]] <br/>Phone: [[District office 4 phone::{{{District Office 4 Phone|}}}]] / Fax: [[District 4 fax::{{{District Office 4 Fax|}}}]]}} {{#if:{{{District Office 5 Address|}}}|
 +
* [[District office 5 address::{{{District Office 5 Address|}}}]] <br/>Phone: [[District office 5 phone::{{{District Office 5 Phone|}}}]] / Fax: [[District 5 fax::{{{District Office 5 Fax|}}}]]}} {{#if:{{{District Office 6 Address|}}}|
 +
* [[District office 6 address::{{{District Office 6 Address|}}}]] <br/>Phone: [[District office 6 phone::{{{District Office 6 Phone|}}}]] / Fax: [[District 6 fax::{{{District Office 6 Fax|}}}]]}} {{#if:{{{District Office 7 Address|}}}|
 +
* [[District office 7 address::{{{District Office 7 Address|}}}]] <br/>Phone: [[District office 7 phone::{{{District Office 7 Phone|}}}]] / Fax: [[District 7 fax::{{{District Office 7 Fax|}}}]]}} {{#if:{{{District Office 8 Address|}}}|
 +
* [[District office 8 address::{{{District Office 8 Address|}}}]] <br/>Phone: [[District office 8 phone::{{{District Office 8 Phone|}}}]] / Fax: [[District 8 fax::{{{District Office 8 Fax|}}}]]}} {{#if:{{{District Office 9 Address|}}}|
 +
* [[District office 9 address::{{{District Office 9 Address|}}}]] <br/>Phone: [[District office 9 phone::{{{District Office 9 Phone|}}}]] / Fax: [[District 9 fax::{{{District Office 9 Fax|}}}]]}}
 +
|-
 +
 
 +
!colspan="4" align="center"|Campaign Contact:
 +
|-
 +
 
 +
|colspan="4"|
 +
'''Website:''' [[Campaign website::{{{Campaign Homepage|}}}]]<br>
 +
'''Webform Email:''' [[Campaign webform email::{{{Campaign E-mail Link|}}}]] / '''Email:''' [[Campaign email::{{{Campaign E-mail|}}}]]<br/>
 +
 
 +
'''Campaign Offices:'''<br/>
 +
* [[Campaign office 1 address::{{{Campaign Office 1 Address|}}}]] <br/>Phone: [[Campaign office 1 phone::{{{Campaign Office 1 Phone|}}}]] / Fax: [[Campaign office 1 Fax::{{{Campaign Office 1 Fax|}}}]] {{#if:{{{Campaign Office 2 Address|}}}|
 +
* [[Campaign office 2 address::{{{Campaign Office 2 Address|}}}]] <br/>Phone: [[Campaign office 2 phone::{{{Campaign Office 2 Phone|}}}]] / Fax: [[Campaign office 2 Fax::{{{Campaign Office 2 Fax|}}}]]}} {{#if:{{{Campaign Office 3 Address|}}}|
 +
* [[Campaign office 3 address::{{{Campaign Office 3 Address|}}}]] <br/>Phone: [[Campaign office 3 phone::{{{Campaign Office 3 Phone|}}}]] / Fax: [[Campaign office 3 Fax::{{{Campaign Office 3 Fax|}}}]]}} {{#if:{{{Campaign Office 4 Address|}}}|
 +
* [[Campaign office 4 address::{{{Campaign Office 4 Address|}}}]] <br/>Phone: [[Campaign office 4 phone::{{{Campaign Office 4 Phone|}}}]] / Fax: [[Campaign office 4 Fax::{{{Campaign Office 4 Fax|}}}]]}} {{#if:{{{Campaign Office 5 Address|}}}|
 +
* [[Campaign office 5 address::{{{Campaign Office 5 Address|}}}]] <br/>Phone: [[Campaign office 5 phone::{{{Campaign Office 5 Phone|}}}]] / Fax: [[Campaign office 5 Fax::{{{Campaign Office 1 Fax|}}}]]}} {{#if:{{{Campaign Office 6 Address|}}}|
 +
* [[Campaign office 6 address::{{{Campaign Office 6 Address|}}}]] <br/>Phone: [[Campaign office 6 phone::{{{Campaign Office 6 Phone|}}}]] / Fax: [[Campaign office 6 Fax::{{{Campaign Office 6 Fax|}}}]]}}
 +
|-
 +
 
 +
!colspan="4" align="center"|Misc:
 +
|-
 +
|colspan="4"|
 +
'''Date of Birth:''' [[DOB::{{{Birth|}}}]]
 +
 
 +
[[First elected::{{{First Elected|}}}]]
 +
|}<!--
 +
 
 +
Categories for missing fields
 +
 
 +
--><includeonly>
 +
{{#if:{{{Current Office|}}}||[[Category:Member profiles with an incomplete or blank "politician" template]]}}<!--
 +
-->{{#if:{{{110th Committee Membership|}}}||[[Category:Congresspedia pages missing 110th committee membership]]}}<!--
 +
-->{{#if:{{{First Elected|}}}||[[Category:Member profiles missing a "First Elected" field]]}}<!--
 +
-->{{#if:{{{term_start|}}}||[[Category:Member profiles missing a "term_start" field]]}}<!--
 +
-->{{#if:{{{Next Election|}}}||[[Category:Member profiles missing a "Next Election" field]]}}<!--
 +
-->{{#if:{{{District Office 1 Address|}}}||[[Category:Member profiles missing a district office address]]}}<!--
 +
-->{{#if:{{{District Office 1 Phone|}}}||[[Category:Member profiles missing a "District Office 1 Phone" field]]}}<!--
 +
-->{{#if:{{{District Office 1 Fax|}}}||[[Category:Member profiles missing a "District Office 1 Fax" field]]}}<!--
 +
-->{{#if:{{{Freshman|}}}||[[Category:Member profiles missing a "Freshman" field]]}}<!--
 +
-->{{#if:{{{Freshman|}}}||[[Category:Member profiles missing a "Freshman" field]]}}<!--
 +
-->{{#if:{{#external_value:firstname}}||[[Category:Member of Congress profiles at the wrong url]]}}
 +
</includeonly>
 +
<!--
 +
 
 +
Geocoding
 +
 
 +
-->{{#if:{{{District Office 1 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 1 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 2 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 2 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 3 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 3 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 4 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 4 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 5 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 5 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 6 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 6 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 7 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 7 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 8 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 8 Address}}} }}| ]] }}
 +
{{#if:{{{District Office 9 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 9 Address}}} }}| ]] }}<!--
 +
 
 +
Full state name definition
 +
 
 +
-->[[Full state name::{{#show:{{#external_value:state}}|?Full state name|link=none}}| ]]<!--
 +
 
 +
Full party name definition
 +
 
 +
-->
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|R|[[Full party name::Republican| ]]}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|D|[[Full party name::Democratic| ]]}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|I|[[Full party name::Independent| ]]}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|L|[[Full party name::Libertarian| ]]}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|G|[[Full party name::Green| ]]}}
 +
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|O|[[Full party name::Other| ]]}}
 +
[[Category:Politicians]]

Latest revision as of 00:27, January 31, 2012

This is the 'Politician' template. It should be called in the following format:

{{Politician

<!--From wikipedia-->
|term_start= 
|term_end=
|otherparty =

<!-- From Cause Caller --> 
|Birth=
|First Elected=
|Next Election=
|110th Leadership=
|Freshman=
|Previous Political Work=
|110th Committee Membership=
|Zip Code Affiliations=

<!-- NEW -->
|Current Office=
|110th Committee Chairs=
|110th Committee Ranking Member=
|111th Leadership=
|111th Committee Membership=
|111th Committee Chairs=
|111th Committee Ranking Member=
|111th Caucuses

<!-- From Congresspedia -->
|110th Caucuses =
|District Office 1 Address= 
|District Office 1 Phone=
|District Office 1 Fax=
|District Office 2 Address=
|District Office 2 Phone=
|District Office 2 Fax=
|District Office 3 Address=
|District Office 3 Phone=
|District Office 3 Fax=
|District Office 4 Address= 
|District Office 4 Phone= 
|District Office 4 Fax= 
|District Office 5 Address= 
|District Office 5 Phone= 
|District Office 5 Fax= 
|District Office 6 Address= 
|District Office 6 Phone= 
|District Office 6 Fax= 
|District Office 7 Address= 
|District Office 7 Phone= 
|District Office 7 Fax= 
|District Office 8 Address= 
|District Office 8 Phone= 
|District Office 8 Fax= 
|District Office 9 Address= 
|District Office 9 Phone= 
|District Office 9 Fax= 
|Campaign E-mail= 
|Campaign E-mail Link= 
|Campaign Homepage=
|Campaign Office 1 Address= 
|Campaign Office 1 Phone= 
|Campaign Office 1 Fax= 
|Campaign Office 2 Address= 
|Campaign Office 2 Phone= 
|Campaign Office 2 Fax= 
|Campaign Office 3 Address= 
|Campaign Office 3 Phone= 
|Campaign Office 3 Fax= 
|Campaign Office 4 Address= 
|Campaign Office 4 Phone= 
|Campaign Office 4 Fax= 
|Campaign Office 5 Address= 
|Campaign Office 5 Phone= 
|Campaign Office 5 Fax= 
}}

Edit the page to see the template text:


Semantic data (Edit data)

Toolbox

OpenCongress is a joint project of the Participatory Politics Foundation and the Sunlight Foundation. Questions? Comments? Contact Us