User:HailFire/Sandbox/Template:CongLinks
From Wikipedia, the free encyclopedia
|
{{CongLinks}} allows linking to external links found on most current U.S. congress biographies. This will aid in the maintenance and standardization of these external links.
[edit] How to use
- This template is only appropriate for post-1991 legislators.
- This template should not be substituted.
[edit] Cut & paste
Either
{{CongLinks | name = | congbio = | fec = | govtrack = | opensecrets = | votesmart = | ontheissuespath = | legistorm = }}
or
{{CongLinks | name = | congbio = | fec = | govtrack = | opensecrets = | votesmart = | ontheissuespath = | legistorm=}}
[edit] Fields
All parameters are optional, but if you don't include any of them, nothing will show up.
- name:= name (option), if the article title is inappropriate for link captions
- congbio:= ID number of the congressional biography, shared by the Washington Post. This ID can be found in the biography URL: http://bioguide.congress.gov/scripts/biodisplay.pl?index=[congbio]
- fec:= Federal Election Commission ID, found at: http://herndon1.sdrdc.com/cgi-bin/can_detail/[fec]
- govtrack:= GovTrack.us profile/record, found at: http://www.govtrack.us/congress/person.xpd?id=[govtrack]
- opensecrets:= opensecrets.org page, found using the path from http://www.opensecrets.org/politicians/allsummary.asp?CID=[opensecrets].
- votesmart:= vote-smart.org id, found at: http://www.vote-smart.org/bio.php?can_id=[votesmart]
- ontheissuespath:= ontheissues.org page, found using the path form http://www.ontheissues.org/[ontheissuespath]. For example, the path http://www.ontheissues.org/House/David_Davis.htm should use parameter "House/David_Davis.htm".
- legistorm:= legistorm.org page, found using the path form http://www.legistorm.org/[legistorm]. For example, the path http://www.legistorm.com/member/Rep_David_Davis/829.html should use parameter "Rep_David_Davis/829.html".
[edit] Example
David Davis (Tennessee politician):
{{ CongLinks | name = David Davis | congbio = D000606 | fec = H6TN01313 | govtrack = 412235 | opensecrets = N00008758 | votesmart = BC038542 | ontheissuespath = House/David_Davis.htm | legistorm = Rep_David_Davis/829.html }}
will return all relevant external links:
- Biography at the Biographical Directory of the United States Congress
- Voting record maintained by The Washington Post
- Campaign finance reports and data at the Federal Election Commission
- Congressional profile at GovTrack.us
- Campaign contributions at OpenSecrets.org
- Biography, voting record, and interest group ratings at Project Vote Smart
- Issue positions and quotes at On The Issues
- Staff salary data at Legistorm.com
[edit] See also
[edit] Content notice template
{{Bioguide}} looks like this:
This article incorporates facts obtained from the public domain Biographical Directory of the United States Congress.
[edit] Cleanup project template
{{Cleanup Congress Bio}} puts articles in the category, Category:Biographical Directory of the United States Congress cleanup.
[edit] Project Congress
Wikipedia:WikiProject U.S. Congress/Bioguide, a subpage of Project Congress that tracks how well information is imported from the Bioguide.