Template:Politician

From OpenCongress Wiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
<noinclude> __NORICHEDITOR__
+
<noinclude>
 
This is the 'Politician' template.
 
This is the 'Politician' template.
 
It should be called in the following format:
 
It should be called in the following format:
 +
<pre>{{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=
 +
}}
 +
</pre>
 +
Edit the page to see the template text:
 
</noinclude>
 
</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}}  
+
{{#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>)
+
<big>'''Semantic data'''</big>
<!-- Sunlight Labs Content START -->
+
(<span class="plainlinks">[http://www.opencongress.org/w/index.php?title={{PAGENAMEE}}&action=formedit Edit data]</span>)
{| class="wikitable collapsible collapsed FCK__ShowTableBorders"
+
{| class="wikitable collapsible collapsed"
 
|-
 
|-
! colspan="4" align="center" | From the Sunlight Foundation API
+
!colspan="4" align="center"|From the Sunlight Foundation API
 
|-
 
|-
! colspan="4" align="center" | Current Office: {{{Current Office}}}
+
!colspan="4" align="center"|Current Office: {{{Current Office}}}
 
|-
 
|-
| '''Title: {{#external_value:title}}'''
+
|'''Title: [[Title::{{#external_value:title}}]]
| '''First name:''' {{#external_value:firstname}}  
+
|'''First name:''' [[First name::{{#external_value:firstname}}]]
| '''Middle name:''' [[:{{#external_value:middlename}}|{{#external_value:middlename}}]]  
+
|'''Middle name:''' [[Middle name::{{#external_value:middlename}}]]
| '''Last name:''' {{#external_value:lastname}}
+
|'''Last name:''' [[Last name::{{#external_value:lastname}}]]
 
|-
 
|-
| colspan="2" | '''Suffix:''' {{#external_value:name_suffix}}  
+
|colspan="2"|'''Suffix:''' {{#external_value:name_suffix}}
| colspan="2" | '''Nickname:''' {{#external_value:nickname}}
+
|colspan="2"|'''Nickname:''' {{#external_value:nickname}}
 
|-
 
|-
| '''Party:''' {{#external_value:party}}  
+
|'''Party:''' [[Party::{{#external_value:party}}]]
| '''State:''' {{#external_value:state}}
+
|'''State:''' [[State::{{#external_value:state}}]]
| '''District:'''
+
|'''District:'''  
{{#ifeq:{{#external_value:district}}|0|[[District::AL]]|[[District::{{padleft:{{#external_value:district}}|2}}]]}} '''District short:''' {{#external_value:district}}
+
  
| '''Currently in office?''' {{#external_value:in_office}}
+
{{#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}}
+
|colspan="4"|'''Gender:''' {{#external_value:gender}}
 
|-
 
|-
| '''Phone:''' {{#external_value:phone}}  
+
|'''Phone:''' [[Phone::{{#external_value:phone}}]]
| '''Fax:''' {{#external_value:fax}}  
+
|'''Fax:''' [[Fax::{{#external_value:fax}}]]
| '''Website:''' {{#external_value:website}}  
+
|'''Website:''' [[Website::{{#external_value:website}}]]
| '''Webform email:''' {{#external_value:webform}}<br>'''Email address:'''
+
|'''Webform email:''' [[Webform email::{{#external_value:webform}}]]<br>'''Email address:''' [[Email address::{{#external_value:email}}]]
 
|-
 
|-
| colspan="4" | '''DC office:''' {{#external_value:congress_office}}
+
|colspan="4"|'''DC office:''' [[Congressional address::{{#external_value:congress_office}}]]
 
|-
 
|-
| '''Bioguide ID:''' {{#external_value:bioguide_id}}  
+
|'''Bioguide ID:''' {{#external_value:bioguide_id}}
| '''Votesmart ID:''' {{#external_value:votesmart_id}}  
+
|'''Votesmart ID:''' {{#external_value:votesmart_id}}
| '''FEC ID:''' {{#external_value:fec_id}}  
+
|'''FEC ID:''' {{#external_value:fec_id}}
| '''Govtrack ID:''' {{#external_value:govtrack_id}}
+
|'''Govtrack ID:''' [[Govtrack_id::{{#external_value:govtrack_id}}]]
 
|-
 
|-
| '''CRP ID:''' {{#external_value:crp_id}}  
+
|'''CRP ID:''' {{#external_value:crp_id}}
| '''Eventful ID:''' {{#external_value:eventful_id}}  
+
|'''Eventful ID:''' {{#external_value:eventful_id}}
| '''Old Sunlight ID:''' {{#external_value:sunlight_old_id}}  
+
|'''Old Sunlight ID:''' {{#external_value:sunlight_old_id}}
| '''Twitter ID:''' {{#external_value:twitter_id}}
+
|'''Twitter ID:''' [[Twitter ID::{{#external_value:twitter_id}}]]
 
|-
 
|-
| colspan="2" | '''OpenCongress Wiki URL:''' {{#external_value:congresspedia_url}}  
+
|colspan="2"|'''OpenCongress Wiki URL:''' {{#external_value:congresspedia_url}}
| '''YouTubeID:''' {{#replace:{{#external_value:youtube_url}}|http://www.youtube.com/|}}  
+
|'''YouTubeID:''' [[YouTubeID::{{#replace:{{#external_value:youtube_url}}|http://www.youtube.com/|}}]]
| '''Senate class:''' {{#external_value:senate_class}}
+
|'''Senate class:''' [[Senate class::{{#external_value:senate_class}}]]
 
|}
 
|}
<!-- Sunlight Labs content END -->
 
  
{| class="wikitable collapsible collapsed FCK__ShowTableBorders"
+
{| class="wikitable collapsible collapsed"
 
|-
 
|-
! colspan="4" align="center" | Entered manually within the [[Politician]]
+
!colspan="4" align="center"| Entered manually within the [[Template:Politician]]
 
|-
 
|-
! colspan="4" align="center" | {{{Current Office}}}
+
 
 +
!colspan="4" align="center"|[[Current office::{{{Current Office}}}]]
 
|-
 
|-
! colspan="4" align="center" | '''111th Congress'''
+
 
 +
!colspan="4" align="center"|'''111th Congress'''
 
|-
 
|-
| '''Leadership Position:'''<br>[[:{{{111th Leadership|}}}|{{{111th Leadership|}}}]]  
+
 
| '''Committees Chaired:'''<br>
+
|'''Leadership Position:'''<br/>[[111th leadership::{{{111th Leadership|}}}]]
| '''Committees,<br>Ranking Member On:'''<br>
+
|'''Committees Chaired:'''<br/>
| '''Caucuses:'''<br>
+
 
 +
|'''Committees,<br/> Ranking Member On:'''<br/>
 +
 
 +
|'''Caucuses:'''<br/>
 +
 
 
|-
 
|-
! colspan="4" align="center" | '''110th Congress'''
+
 
 +
!colspan="4" align="center"|'''110th Congress'''
 
|-
 
|-
| '''Leadership Position:'''<br>[[:{{{110th Leadership|}}}|{{{110th Leadership|}}}]]  
+
|'''Leadership Position:'''<br/>[[110th leadership::{{{110th Leadership|}}}]]
| '''Committees Chaired:'''<br>
+
|'''Committees Chaired:'''<br/>
| '''Committees,<br>Ranking Member On:'''<br>
+
 
| '''Caucuses:'''<br>
+
|'''Committees,<br/> Ranking Member On:'''<br/>
 +
 
 +
|'''Caucuses:'''<br/>
 +
 
 
|-
 
|-
| colspan="4" | '''Committees:'''
+
|colspan="4"|'''Committees:'''  
 +
 
 
|-
 
|-
! colspan="4" align="center" | Congressional Career
+
 
 +
!colspan="4" align="center"|Congressional Career
 
|-
 
|-
| '''First Elected to Current Office:'''<br>1 BC
+
|'''First Elected to Current Office:'''<br/>[[First elected::{{{First Elected|}}}]]
| '''First Took Current Office:'''<br>1 BC
+
|'''First Took Current Office:'''<br/>[[term start::{{{term_start|}}}]]
| '''Next Election:'''<br>1 BC
+
|'''Next Election:'''<br/>[[Next election::{{{Next Election|}}}]]
| '''Term Ends:'''<br>[[:{{{term_end|}}}|{{{term_end|}}}]]
+
|'''Term Ends:'''<br/>[[term end:::{{{term_end|}}}]]
 
|-
 
|-
| '''Freshman Member?'''<br>[[:{{{Freshman|}}}|{{{Freshman|}}}]]  
+
|'''Freshman Member?'''<br/> [[Freshman::{{{Freshman|}}}]]
| '''Previous Political Work?'''<br>
+
|'''Previous Political Work?'''<br/>
 
{{#arraymap:{{{Previous Political Work|}}}|,|x|[[Previous political work::x]]}}
 
{{#arraymap:{{{Previous Political Work|}}}|,|x|[[Previous political work::x]]}}
 
+
|colspan="2"|'''Other Party Membership:''' [[otherparty::{{{otherparty|}}}]]
| colspan="2" | '''Other Party Membership:''' [[:{{{otherparty|}}}|{{{otherparty|}}}]]
+
 
|-
 
|-
! colspan="4" align="center" | District Offices:
+
 
 +
!colspan="4" align="center"|District Offices:
 
|-
 
|-
| colspan="4" |  
+
|colspan="4"|
*{{{District Office 1 Address|}}} <br>Phone: {{{District Office 1 Phone|}}} / Fax: {{{District Office 1 Fax|}}} {{#if:{{{District Office 2 Address|}}}|
+
* [[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 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 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|}}}|
Line 99: Line 187:
 
* [[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 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|}}}]]}}
 
* [[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" align="center"|Campaign Contact:
 
|-
 
|-
| colspan="4" |
 
'''Website:''' [http://{{{Campaign Homepage|}}} http://{{{Campaign Homepage|}}}]<br>'''Webform Email:''' [http://{{{Campaign E-mail Link|}}} http://{{{Campaign E-mail Link|}}}] / '''Email:''' <br>
 
  
'''Campaign Offices:'''<br>
+
|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 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 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 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 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|}}}|
Line 114: Line 203:
 
* [[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 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|}}}]]}}
 
* [[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" align="center"|Misc:
 
|-
 
|-
| colspan="4" |  
+
|colspan="4"|
'''Date of Birth:''' 1 BC
+
'''Date of Birth:''' [[DOB::{{{Birth|}}}]]
  
1 BC
+
[[First elected::{{{First Elected|}}}]]
 
+
|}<!--
|}
+
<!--
+
  
 
Categories for missing fields
 
Categories for missing fields
Line 140: Line 227:
 
-->{{#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]]}}
 
-->{{#if:{{#external_value:firstname}}||[[Category:Member of Congress profiles at the wrong url]]}}
</includeonly>  
+
</includeonly>
 
<!--
 
<!--
  
 
Geocoding
 
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}}} }}| ]] }}<!--
+
-->{{#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 definition
  
--><!--
+
-->[[Full state name::{{#show:{{#external_value:state}}|?Full state name|link=none}}| ]]<!--
  
 
Full party name definition
 
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| ]]}}  
+
-->
 
+
{{#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]]
 
[[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