Template:CongLinks/doc
< Template:CongLinks
Revision as of 23:03, 19 July 2018 by en>Was a bee (Sorry. Correct link for former AWB edit is here (Template_talk:Wikidata_property#Proposal_of_including_multiple_properties))
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 uses Lua: |
This template uses the Wikidata properties: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
Template:CongLinks 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.
Usage
- This template is only appropriate for legislators who served any time during or after 1991.
- This template should not be substituted.
Cut and 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 | https://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 | https://www.congress.gov/ member/[congress] |
Example
* {{CongLinks | congbio = b000589 | votesmart = 27015 | fec = H0OH08029 | congress = john-boehner/102 }}
- Biography at the Biographical Directory of the United States Congress
- Profile at Vote Smart
- Financial information (federal office) at the Federal Election Commission
- Legislation sponsored at the Library of Congress
Tracking category
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.