Difference between revisions of "Template:CongLinks/doc"
m (→Cut & paste: remove duplicate cut&paste (they were different when there were more entries)) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:CongLinks. It contains usage information, categories and other content that is not part of the original template page. |
This template allows linking to external links found on most current U.S. Congress biographies and on many state-level political biographies. This will aid in the maintenance and standardization of these external links.
How to use
- This template is only appropriate for legislators who served any time during or after 1991.
- This template should not be substituted.
Cut & paste
{{CongLinks | congbio = | votesmart = | fec = | congress = }}
The order of the fields does not matter for results, but is useful for consistency and to see what's missing.
Fields
- All parameters are optional, but if you don't include any of them, nothing will show up.
- Do not use capital letters. They might disrupt the code.
Field | Data | Result | URL source |
---|---|---|---|
congbio | ID number of the congressional biography | Congressional Biography and Washington Post voting record | http://bioguide.congress.gov /scripts/biodisplay.pl?index=[congbio] |
votesmart | votesmart.org id | Biography, voting record, and interest group ratings | http://www.votesmart.org /candidate/[votesmart] |
fec | Federal Election Commission ID | Campaign finance reports and data | http://images.nictusa.com /cgi-bin/can_detail/[fec] |
congress | Path name | Legislation sponsored | http://beta.congress.gov/ member/[congress] |
Example
Returning all external links:
- Biography at the Biographical Directory of the United States Congress
- Biography, voting record, and interest group ratings at Project Vote Smart
- Financial information (federal office) at the Federal Election Commission
- Legislation sponsored at The Library of Congress
See also
- {{Bioguide}}
- {{Biographical Directory of Congress}}
- {{Cleanup Congress Bio}} puts articles in the category Category:Biographical Directory of the United States Congress cleanup.
- Biographical Directory of the United States Congress
- Wikipedia:WikiProject U.S. Congress/Bioguide, a subpage of Project Congress, tracks how well information is imported from the Bioguide.