Difference between revisions of "Template:CongLinks/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoldRingChip
(→‎Cut & paste: reduced doubles spaces in example)
imported>Flatterworld
(followthemoney format change)
Line 47: Line 47:
 
| ''votesmart'' || votesmart.org id || Biography, voting record, and interest group ratings || http://www.votesmart.org /bio.php?can_id='''[votesmart]'''
 
| ''votesmart'' || votesmart.org id || Biography, voting record, and interest group ratings || http://www.votesmart.org /bio.php?can_id='''[votesmart]'''
 
|-
 
|-
| ''followthemoney'' || followthemoney.org id || State-level campaign contributions || http://www.followthemoney.org/ database/StateGlance/candidate.phtml?c='''[followthemoney]'''
+
| ''followthemoney'' || followthemoney.org id || State-level campaign contributions || http://www.followthemoney.org/database/uniquecandidate.phtml?uc='''[followthemoney]'''
 
|-
 
|-
 
| ''ontheissuespath'' || Path name needed || Issue positions and quotes ||  http://www.ontheissues.org /'''[ontheissuespath]'''
 
| ''ontheissuespath'' || Path name needed || Issue positions and quotes ||  http://www.ontheissues.org /'''[ontheissuespath]'''
Line 69: Line 69:
 
| fec =            H6TN01313
 
| fec =            H6TN01313
 
| opensecrets =    N00008758  
 
| opensecrets =    N00008758  
 +
| followthemoney =  16
 
| votesmart =      BC038542  
 
| votesmart =      BC038542  
 
| ontheissuespath = House/David_Davis.htm
 
| ontheissuespath = House/David_Davis.htm
Line 76: Line 77:
 
| retrieved =      2008-02-04
 
| retrieved =      2008-02-04
 
}}</pre> will return all relevant external links:
 
}}</pre> will return all relevant external links:
{{CongLinks | name = David Davis | congbio = D000606 | fec = H6TN01313 | opensecrets = N00008758 | votesmart = BC038542 | ontheissues = House/David_Davis.htm | legistorm = Rep_David_Davis/829.html | surge=753 | govtrack =  412235 | retrieved=2008-02-04}}
+
{{CongLinks | name = David Davis | congbio = D000606 | fec = H6TN01313 | opensecrets = N00008758 | followthemoney = 16 | votesmart = BC038542 | ontheissues = House/David_Davis.htm | legistorm = Rep_David_Davis/829.html | surge=753 | govtrack =  412235 | retrieved=2008-02-04}}
  
 
==See also==
 
==See also==

Revision as of 15:10, 16 April 2010

This template allows linking to external links found on most current U.S. congress biographies. This will aid in the maintenance and standardization of these external links.

How to use

  • This template is only appropriate for legislators who served any time during or after 1991.
  • This template should not be substituted.

Cut & paste

Either

{{CongLinks
| name            = 
| congbio         = 
| fec             =
| opensecrets     =
| votesmart       =
| followthemoney  =
| ontheissuespath = 
| legistorm       =
| surge           =
| govtrack        =
| findagrave      =
| retrieved       =
}}

or

{{CongLinks | name = | congbio = | fec = | opensecrets = | votesmart = | followthemoney =
| ontheissuespath = | legistorm= | surge = | govtrack = | findagrave= | retrieved= }}

The order of the fields does not matter.

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
name name If the article title is inappropriate for link captions.
As of 30 December 2007, captions aren't used, so this is not a big deal.
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 http://herndon1.sdrdc.com /cgi-bin/can_detail/[fec]
opensecrets opensecrets.org page Campaign contributions http://www.opensecrets.org /politicians/summary.asp?CID=[opensecrets]
votesmart votesmart.org id Biography, voting record, and interest group ratings http://www.votesmart.org /bio.php?can_id=[votesmart]
followthemoney followthemoney.org id State-level campaign contributions http://www.followthemoney.org/database/uniquecandidate.phtml?uc=[followthemoney]
ontheissuespath Path name needed Issue positions and quotes http://www.ontheissues.org /[ontheissuespath]
legistorm Path name needed Staff salaries, trips and personal finance http://www.legistorm.com /[legistorm]
surge Statesurge index Bills Sponsored http://www.statesurge.com /members/[surge]
govtrack GovTrack index Congressional profile http://www.govtrack.us /congress/person.xpd?id=[govtrack]
findagrave FindAGrave index Burial info. But if still alive, just don't include it http://www.findagrave.com /cgi-bin/fg.cgi?page=gr&GRid=[findagrave]
retrieved date (yyyy-mm-dd) date these links were last retrieved no url

Example

David Davis (U.S. politician):

{{ CongLinks 
| name =            David Davis 
| congbio =         D000606 
| fec =             H6TN01313
| opensecrets =     N00008758 
| followthemoney =  16
| votesmart =       BC038542 
| ontheissuespath = House/David_Davis.htm
| legistorm =       Rep_David_Davis/829.html
| surge =           753
| govtrack =        412235
| retrieved =       2008-02-04
}}

will return all relevant external links:

See also

ja:Template:CongLinks ro:Format:CongLinks