Difference between revisions of "Template:CongLinks"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Changed protection level for "Template:CongLinks": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>MSGJ
m (bypass redirect)
 
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|}}}|
* [https://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Project Vote Smart]]
+
* [https://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Vote Smart]]
 
|}}{{#if:{{{fec|}}}|
 
|}}{{#if:{{{fec|}}}|
 
* [https://www.fec.gov/data/candidate/{{{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]]

Latest revision as of 09:45, 22 June 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