Template:CongLinks/doc
Appearance
This is a documentation subpage for Template:CongLinks. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Wikidata has the properties:
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
[edit]- This template is only appropriate for legislators who served any time during or after 1991.
- This template should not be substituted.
Cut and paste
[edit]{{CongLinks | congbio = | fec = | congress = | votesmart = }}
The order of the fields does not matter for results, but is useful for consistency and to see what's missing.
Fields
[edit]- 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] |
fec | Federal Election Commission ID | Campaign finance reports and data | https://www.fec.gov/ data/search/?search=[fec] |
congress | Path name | Legislation sponsored | https://www.congress.gov/ member/[congress] |
votesmart | votesmart.org id | Biography, voting record, and interest group ratings | https://www.votesmart.org /candidate/[votesmart] |
Example
[edit]* {{CongLinks | congbio = b000589 | fec = H0OH08029 | congress = john-boehner/102 | votesmart = 27015 }}
- Biography at the Biographical Directory of the United States Congress
- Financial information (federal office) at the Federal Election Commission
- Legislation sponsored at the Library of Congress
- Profile at Vote Smart
Tracking category
[edit]See also
[edit]- {{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.