Template:Politician

From OpenCongress Wiki

(Difference between revisions)
Jump to: navigation, search
(Removed newlines and display of state name from full name settings, added West Virginia)
(Replaced #set back with bracket notation - there seems to be a bug with #set)
Line 1: Line 1:
<noinclude>
 
This is the 'Politician' template.
 
It should be called in the following format:
 
<pre>{{Politician
 
  
<!--From wikipedia-->
+
{{#if:{{{District Office 1 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 1 Address|}| ]] }}| ]] }}
|term_start=
+
{{#if:{{{District Office 2 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 2 Address|}| ]] }}| ]] }}
|term_end=
+
{{#if:{{{District Office 3 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 3 Address|}| ]] }}| ]] }}
|otherparty =
+
{{#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|}| ]] }}| ]] }}
<!-- From Cause Caller -->
+
{{#if:{{{District Office 6 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 6 Address|}| ]] }}| ]] }}
|Birth=
+
{{#if:{{{District Office 7 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 7 Address|}| ]] }}| ]] }}
|First Elected=
+
{{#if:{{{District Office 8 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 8 Address|}| ]] }}| ]] }}
|Next Election=
+
{{#if:{{{District Office 9 Address|}}}|[[District office coordinates::{{#geocode:{{{District Office 9 Address|}| ]] }}| ]] }}
|110th Leadership=
+
{{#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| ]] }}
|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|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}}
+
= Human Readable =
+
 
+
'''From the Sunlight API:'''
+
 
+
{| style="border-collapse:collapse; background: #efefef; border: 1px solid #000000;" border="1"
+
|-
+
!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:''' [[District::{{#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:''' {{#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="4"|'''Congresspedia URL:''' {{#external_value:congresspedia_url}}]]
+
|}
+
 
+
 
+
'''Corresponding article on [http://en.wikipedia.org/wiki/{{PAGENAMEE}} Wikipedia] and [http://www.causecaller.com/wiki/{{PAGENAMEE}} Cause Caller]. (If Cause Caller link does not work, pick from its list of [http://www.causecaller.com/wiki/Senator senators] and [http://www.causecaller.com/wiki/Representative representatives].)'''
+
 
+
{| style="border-collapse:collapse; background: #efefef; border: 1px solid #000000;" border="1"
+
|-
+
 
+
!colspan="4" align="center"|Current Office: {{{Current Office}}}
+
|-
+
 
+
!colspan="4" align="center"|'''111th Congress'''
+
|-
+
 
+
|'''Leadership Position:'''<br/>[[111th leadership::{{{111th Leadership|}}}]]
+
|'''Committees Chaired:'''<br/>
+
{{#arraymap:{{{111th Committee Chairs|}}}|,|x|[[111th committee chairs::x]]}}
+
|'''Committees,<br/> Ranking Member On:'''<br/>
+
{{#arraymap:{{{111th Committee Ranking Members|}}}|,|x|[[111th committee ranking member::x]]}}
+
|'''Caucuses:'''<br/>
+
{{#arraymap:{{{111th Caucuses|}}}|,|x|[[111th caucuses::x]]}}
+
|-
+
 
+
|colspan="4"|'''Committees:'''
+
{{#arraymap:{{{111th Committee Membership|}}}|,|x|[[111th committee membership::x]]}}
+
|-
+
 
+
!colspan="4" align="center"|'''110th Congress'''
+
|-
+
|'''Leadership Position:'''<br/>[[110th Leadership::{{{110th leadership|}}}]]
+
|'''Committees Chaired:'''<br/>
+
{{#arraymap:{{{110th Committee Chairs|}}}|,|x|[[110th committee chairs::x]]}}
+
|'''Committees,<br/> Ranking Member On:'''<br/>
+
{{#arraymap:{{{110th Committee Ranking Member|}}}|,|x|[[110th committee ranking member::x]]}}
+
|'''Caucuses:'''<br/>
+
{{#arraymap:{{{110th Caucuses|}}}|,|x|[[110th caucuses::x]]}}
+
|-
+
|colspan="4"|'''Committees:'''
+
{{#arraymap:{{{110th Committee Membership|}}}|,|x|[[110th committee membership::x]]}}
+
|-
+
 
+
!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 Homepage::{{{Campaign Homepage|}}}]]<br>
+
'''Webform Email:''' [[Campaign Webform E-mail::{{{Campaign E-mail Link|}}}]] / '''Email:''' [[Campaign E-mail::{{{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 1 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"|Zip Code Affiliations:<br>
+
{{#arraymap:{{{Zip Code Affiliations|}}}|,|x|[[Zip Code Affiliations::x]]}}
+
|-
+
 
+
!colspan="4" align="center"|Misc:
+
|-
+
|colspan="2"|
+
'''Date of Birth:''' [[DOB::{{{birth|}}}]]
+
|colspan="2"|
+
'''YouTubeID:''' {{#if:{{#external_value:youtube_url}}|[[YouTubeID::{{#replace:{{#external_value:youtube_url}}|http://www.youtube.com/|}}]]|{{#ifeq:{{#external_value:party}}|R|[[YouTubeID::HouseConference]]|[[YouTubeID::NancyPelosi]]}}}}
+
'''Senate Class:''' [[Senate class::{{#external_value:senate_class}}]]
+
|}
+
<includeonly>
+
{{#if:{{{Current Office|}}}||[[Category:Congresspedia pages with an incomplete or blank "politician" template]]}}
+
{{#if:{{{110th Committee Membership|}}}||[[Category:Congresspedia pages missing 110th committee membership]]}}
+
{{#if:{{{First Elected|}}}||[[Category:Congresspedia pages missing a "First Elected" field]]}}
+
{{#if:{{{term_start|}}}||[[Category:Congresspedia pages missing a "term_start" field]]}}
+
{{#if:{{{Next Election|}}}||[[Category:Congresspedia pages missing a "Next Election" field]]}}
+
{{#if:{{{District Office 1 Address|}}}||[[Category:Congresspedia pages missing a district office address]]}}
+
{{#if:{{{District Office 1 Phone|}}}||[[Category:Congresspedia pages missing a "District Office 1 Phone" field]]}}
+
{{#if:{{{District Office 1 Fax|}}}||[[Category:Congresspedia pages missing a "District Office 1 Fax" field]]}}
+
{{#if:{{{Freshman|}}}||[[Category:Congresspedia pages missing a "Freshman" field]]}}
+
{{#if:{{{Freshman|}}}||[[Category:Congresspedia pages missing a "Freshman" field]]}}
+
{{#if:{{#external_value:firstname}}||[[Category:Member of Congress profiles at the wrong url]]}}
+
</includeonly>
+
 
+
{{#if:{{{District Office 1 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 1 Address|}}} }} }} }}
+
{{#if:{{{District Office 2 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 2 Address|}}} }} }} }}
+
{{#if:{{{District Office 3 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 3 Address|}}} }} }} }}
+
{{#if:{{{District Office 4 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 4 Address|}}} }} }} }}
+
{{#if:{{{District Office 5 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 5 Address|}}} }} }} }}
+
{{#if:{{{District Office 6 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 6 Address|}}} }} }} }}
+
{{#if:{{{District Office 7 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 7 Address|}}} }} }} }}
+
{{#if:{{{District Office 8 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 8 Address|}}} }} }} }}
+
{{#if:{{{District Office 9 Address|}}}|{{#set:District office coordinates={{#geocode:{{{District Office 9 Address|}}} }} }} }}
+
{{#ifeq:{{#show:{{PAGENAME}}|? State}}|AL|{{#set:Full state name=Alabama}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AK|{{#set:Full state name=Alaska}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AZ|{{#set:Full state name=Arizona}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|AR|{{#set:Full state name=Arkansas}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CA|{{#set:Full state name=California}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CO|{{#set:Full state name=Colorado}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|CT|{{#set:Full state name=Connecticut}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|DE|{{#set:Full state name=Delaware}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|FL|{{#set:Full state name=Florida}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|GA|{{#set:Full state name=Georgia}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|HI|{{#set:Full state name=Hawaii}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ID|{{#set:Full state name=Idaho}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IL|{{#set:Full state name=Illinois}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IN|{{#set:Full state name=Indiana}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|IA|{{#set:Full state name=Iowa}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|KS|{{#set:Full state name=Kansas}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|KY|{{#set:Full state name=Kentucky}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|LA|{{#set:Full state name=Louisiana}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ME|{{#set:Full state name=Maine}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MD|{{#set:Full state name=Maryland}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MA|{{#set:Full state name=Massachusetts}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MI|{{#set:Full state name=Michigan}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MN|{{#set:Full state name=Minnesota}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MS|{{#set:Full state name=Mississippi}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MO|{{#set:Full state name=Missouri}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|MT|{{#set:Full state name=Montana}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NE|{{#set:Full state name=Nebraska}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NV|{{#set:Full state name=Nevada}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NH|{{#set:Full state name=New Hampshire}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NJ|{{#set:Full state name=New Jersey}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NM|{{#set:Full state name=New Mexico}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NY|{{#set:Full state name=New York}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|NC|{{#set:Full state name=North Carolina}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|ND|{{#set:Full state name=North Dakota}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OH|{{#set:Full state name=Ohio}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OK|{{#set:Full state name=Oklahoma}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|OR|{{#set:Full state name=Oregon}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|PA|{{#set:Full state name=Pennsylvania}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|RI|{{#set:Full state name=Rhode Island}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|SC|{{#set:Full state name=South Carolina}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|SD|{{#set:Full state name=South Dakota}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|TN|{{#set:Full state name=Tennessee}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|TX|{{#set:Full state name=Texas}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|UT|{{#set:Full state name=Utah}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|VT|{{#set:Full state name=Vermont}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|VA|{{#set:Full state name=Virginia}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WA|{{#set:Full state name=Washington State}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WV|{{#set:Full state name=West Virginia}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WI|{{#set:Full state name=Wisconsin}} }} {{#ifeq:{{#show:{{PAGENAME}}|? State}}|WY|{{#set:Full state name=Wyoming}} }}
+

Revision as of 23:42, March 3, 2009

{{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates:: {{#if:|[[District office coordinates::

Toolbox

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