Template:Politician
From OpenCongress Wiki
(Difference between revisions)
Conor Kenny (Talk | contribs) |
Conor Kenny (Talk | contribs) |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 82: | Line 82: | ||
{{#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> | <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" | {| 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 | + | !colspan="4" align="center"|Current Office: {{{Current Office}}} |
|- | |- | ||
|'''Title: [[Title::{{#external_value:title}}]] | |'''Title: [[Title::{{#external_value:title}}]] | ||
| Line 133: | Line 133: | ||
|- | |- | ||
| − | !colspan="4" align="center"|Current | + | !colspan="4" align="center"|[[Current office::{{{Current Office}}}]] |
|- | |- | ||
| Line 141: | Line 141: | ||
|'''Leadership Position:'''<br/>[[111th leadership::{{{111th Leadership|}}}]] | |'''Leadership Position:'''<br/>[[111th leadership::{{{111th Leadership|}}}]] | ||
|'''Committees Chaired:'''<br/> | |'''Committees Chaired:'''<br/> | ||
| − | + | ||
|'''Committees,<br/> Ranking Member On:'''<br/> | |'''Committees,<br/> Ranking Member On:'''<br/> | ||
| − | + | ||
|'''Caucuses:'''<br/> | |'''Caucuses:'''<br/> | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
!colspan="4" align="center"|'''110th Congress''' | !colspan="4" align="center"|'''110th Congress''' | ||
|- | |- | ||
| − | |'''Leadership Position:'''<br/>[[110th | + | |'''Leadership Position:'''<br/>[[110th leadership::{{{110th Leadership|}}}]] |
|'''Committees Chaired:'''<br/> | |'''Committees Chaired:'''<br/> | ||
| − | + | ||
|'''Committees,<br/> Ranking Member On:'''<br/> | |'''Committees,<br/> Ranking Member On:'''<br/> | ||
| − | + | ||
|'''Caucuses:'''<br/> | |'''Caucuses:'''<br/> | ||
| − | + | ||
|- | |- | ||
|colspan="4"|'''Committees:''' | |colspan="4"|'''Committees:''' | ||
| − | + | ||
|- | |- | ||
| Line 207: | 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|}}}]]}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| Line 216: | Line 208: | ||
|- | |- | ||
|colspan="4"| | |colspan="4"| | ||
| − | '''Date of Birth:''' [[DOB::{{{ | + | '''Date of Birth:''' [[DOB::{{{Birth|}}}]] |
| + | |||
| + | [[First elected::{{{First Elected|}}}]] | ||
|}<!-- | |}<!-- | ||
| Line 261: | Line 255: | ||
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|G|[[Full party name::Green| ]]}} | {{#ifeq:{{#show:{{PAGENAME}}|?Party}}|G|[[Full party name::Green| ]]}} | ||
{{#ifeq:{{#show:{{PAGENAME}}|?Party}}|O|[[Full party name::Other| ]]}} | {{#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)
| From the Sunlight Foundation API | |||
|---|---|---|---|
| Current Office: {{{Current Office}}} | |||
| Title: | First name: | Middle name: | Last name: |
| Suffix: | Nickname: | ||
| Party: | State: | District:
00 District short: |
Currently in office? |
| Gender: | |||
| Phone: | Fax: | Website: | Webform email: Email address: |
| DC office: | |||
| Bioguide ID: | Votesmart ID: | FEC ID: | Govtrack ID: |
| CRP ID: | Eventful ID: | Old Sunlight ID: | Twitter ID: |
| OpenCongress Wiki URL: | YouTubeID: | Senate class: | |
| Entered manually within the Template:Politician | |||
|---|---|---|---|
| {{{Current Office}}} | |||
| 111th Congress | |||
| Leadership Position: |
Committees Chaired: |
Committees, Ranking Member On: |
Caucuses: |
| 110th Congress | |||
| Leadership Position: |
Committees Chaired: |
Committees, Ranking Member On: |
Caucuses: |
| Committees: | |||
| Congressional Career | |||
| First Elected to Current Office: |
First Took Current Office: |
Next Election: |
Term Ends: |
| Freshman Member? |
Previous Political Work? |
Other Party Membership: | |
| District Offices: | |||
| |||
| Campaign Contact: | |||
|
Website: Campaign Offices:
| |||
| Misc: | |||
|
Date of Birth:
| |||
Template:Politician - OpenCongress Wiki
