Template:CongLinks: Difference between revisions
Content deleted Content added
think I figured this out to trim this |
Flatterworld (talk | contribs) updated to current FEC link, fixed Project Vote Smart now that their tabs are working properly (earlier problem) |
||
Line 2: | Line 2: | ||
* [http://bioguide.congress.gov/scripts/biodisplay.pl?index={{{congbio}}} Biography] at the ''[[Biographical Directory of the United States Congress]]'' |
* [http://bioguide.congress.gov/scripts/biodisplay.pl?index={{{congbio}}} Biography] at the ''[[Biographical Directory of the United States Congress]]'' |
||
}}{{#if:{{{votesmart|}}}| |
}}{{#if:{{{votesmart|}}}| |
||
* [http://www.votesmart.org/candidate/{{{votesmart}}} |
* [http://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Project Vote Smart]] |
||
|}}{{#if:{{{fec|}}}| |
|}}{{#if:{{{fec|}}}| |
||
* [http:// |
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec}}} Financial information (federal office)] at the [[Federal Election Commission]] |
||
}}{{#if:{{{congress|}}}| |
}}{{#if:{{{congress|}}}| |
||
* [http://beta.congress.gov/member/{{{congress}}} Legislation sponsored] at [[The Library of Congress]] |
* [http://beta.congress.gov/member/{{{congress}}} Legislation sponsored] at [[The Library of Congress]] |
Revision as of 20:36, 2 April 2014
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
- 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 = | 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
- 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
* {{CongLinks | congbio = b000589 | fec = H0OH08029 | congress = john-boehner/102 | votesmart = 27015 }}
- Biography at the Biographical Directory of the United States Congress
- Profile at Project 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.