Difference between revisions of "Template:CongLinks"

From blackwiki
Jump to navigation Jump to search
imported>Hydrargyrum
m (fix wikilink)
imported>Anne drew Andrew and Drew
(fix fec link per talk page request)
Line 4: Line 4:
 
* [https://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Project Vote Smart]]
 
* [https://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Project Vote Smart]]
 
|}}{{#if:{{{fec|}}}|
 
|}}{{#if:{{{fec|}}}|
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec}}} Financial information (federal office)] at the [[Federal Election Commission]]
+
* [https://www.fec.gov/data/candidate/{{{fec}}} Financial information (federal office)] at the [[Federal Election Commission]]
 
}}{{#if:{{{congress|}}}|
 
}}{{#if:{{{congress|}}}|
 
* [https://www.congress.gov/member/{{{congress}}} Legislation sponsored] at the [[Library of Congress]]
 
* [https://www.congress.gov/member/{{{congress}}} Legislation sponsored] at the [[Library of Congress]]

Revision as of 01:40, 6 January 2018

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

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 https://www.fec.gov/ data/search/?search=[fec]
congress Path name Legislation sponsored https://www.congress.gov/ member/[congress]

Example

John Boehner:

* {{CongLinks | congbio = b000589 | votesmart = 27015 | fec = H0OH08029 | congress = john-boehner/102 }}

Tracking category

See also