Vote button trans.png
April's Project of the Month
It's spring time. It's primary election season!
Click here to find all the information you'll need to cast your ballot.




Difference between revisions of "Template:LegisLinks"

From Ballotpedia
Jump to: navigation, search
(Apparently this was an issue no one knew how to fix)
(Broken FEC links)
Line 40: Line 40:
 
* [http://www.legistorm.com/member/{{{legistorm}}} Earmarks, trips, staff salaries and financial disclosures] at LegiStorm.com
 
* [http://www.legistorm.com/member/{{{legistorm}}} Earmarks, trips, staff salaries and financial disclosures] at LegiStorm.com
 
}}{{#if:{{{fec|}}}|
 
}}{{#if:{{{fec|}}}|
* [http://herndon1.sdrdc.com/cgi-bin/can_detail/{{{fec}}} Campaign finance reports and data] at the Federal Election Commission
+
* [http://images.nictusa.com/cgi-bin/can_detail/{{{fec}}} Campaign finance reports and data] at the Federal Election Commission
 
}}{{#if:{{{fec2|}}}|
 
}}{{#if:{{{fec2|}}}|
* [http://herndon1.sdrdc.com/cgi-bin/can_detail/{{{fec2}}} Campaign finance reports and data] at the Federal Election Commission
+
* [http://images.nictusa.com/cgi-bin/can_detail/{{{fec2}}} Campaign finance reports and data] at the Federal Election Commission
 
}}{{#if:{{{opensecrets|}}}|
 
}}{{#if:{{{opensecrets|}}}|
 
* [http://www.opensecrets.org/politicians/summary.php?cid={{{opensecrets}}} Financial information] at OpenSecrets.org
 
* [http://www.opensecrets.org/politicians/summary.php?cid={{{opensecrets}}} Financial information] at OpenSecrets.org

Revision as of 15:17, 9 July 2013

[edit] Template-info.png Template documentation

Blank code

You can copy and paste this code. Add the appropriate data after the "=" sign to ensure the link appears. (Refer to Usage) If no data is added, that field will not appear.

Related: Template:CongLinks, Template:NGOLinks and Template:SEOLinks

Short form (sufficient for most state legislators and candidates)

{{LegisLinks | fb = | flickr = | linked = | twitter = | youtube = | nndb = | votesmart = | wikipedia = | followthemoney = | ontheissues = | worldcat = | c-span = | imdb = }}

Full form

{{LegisLinks | fb = | flickr = | linked = | twitter = | youtube = | nndb = | votesmart = | wikipedia = | congbio = | nga = | rollcall = | govtrack = | opencong = | merge = | politifact = | fec = | opensecrets = | legistorm = | followthemoney = | ontheissues = | congress = | worldcat = | c-span = | rose = | imdb = | bloomberg = | csmonitor = | economist = | ft = | guardian = | hill = | huffpo = | nyt = | wsj = | washpo = | washtime = }}

Usage

NOTE: Replace #### with the appropriate URL data.

Field Data Info Source
congbio ID number of the congressional biography Congressional Biography and Washington Post voting record http://bioguide.congress.gov /scripts/biodisplay.pl?index=[####]
fb id Profile http://www.facebook.com/[####]
flickr id Photostream http://www.flickr.com /photos/[####]
linked id Profile http://www.linkedin.com/pub/[####]
twitter id Profile http://twitter.com/[####]
youtube id Video http://youtube.com/[####]
nndb NNDB index Profile http://www.nndb.org /people/[####]
votesmart votesmart.org id Summary, biography, voting record, and interest group ratings http://www.votesmart.org /candidate/[votesmart]
wikipedia name Profile http://en.wikipedia.org/wiki/[####]
rollcall rollcall.com id Congressional profile and news http://www.rollcall.com /members/[####].html
govtrack GovTrack index Congressional profile http://www.govtrack.us /congress/person.xpd?id=[####]
opencong OpenCong index Congressional profile http://www.opencongress.org/ people/show/[####]
merge Congress Merge website Profile of official http://www.congressmerge.com/[####]
natjournal Member id Staff contacts, committees and profile http://www.nationaljournal.com /almanac/member/[####]
fec Federal Election Commission ID Campaign finance reports and data http://herndon1.sdrdc.com /cgi-bin/can_detail/[####]
opensecrets OS id Financial information http://www.opensecrets.org /politicians/summary.php?CID=[####]
legistorm Path name Earmarks, trips, staff salaries and financial disclosures http://www.legistorm.com /[####]
followthemoney FTM id State-level campaign contributions http://www.followthemoney.org/ database/uniquecandidate.phtml?uc=[####]
ontheissues Path name Issue positions and quotes http://www.ontheissues.org /[####]
worldcat id Works by or about http://worldcat.org /identities/[####]
c-span C-SPAN index Appearances http://www.c-spanvideo.org /[####]
rose view id Appearances http://www.charlierose.com /guest/view/[####]
imdb IMDb index Appearances http://www.imdb.com /name/[####]
bloomberg path name Collected news and commentary http://topics.bloomberg.com/[####]
guardian path name Collected news and commentary http://www.theguardian.com /[####]
nyt path name Collected news and commentary http://topics.nytimes.com/ top/reference/timestopics/people/[####]
wsj path name Collected news and commentary http://topics.wsj.com/person/[####]
washpo Washpo id Collected news and commentary http://www.washingtonpost.com/members/[####]

Notes

1. The opensecrets parameter defaults to the current year. For members no longer serving, add "&cycle=Career'" after the value to default to the member's career total.

Example

Adding:
{{LegisLinks | fb = MickMulvaneyforCongress | flickr = mickmulvaney | linked = test | twitter = mickmulvaney | youtube = mmulvaneysc | nndb = test | wikipedia = Mick_Mulvaney | congbio = | votesmart = 60348 | govtrack = | opencong = | ontheissues = House/Mick_Mulvaney.htm | natjournal = | fec = | opensecrets = | legistorm = | followthemoney = 8288 | cspan = 623510 | imdb = test | bloomberg = test | guardian = | nyt = | wsj = | washpo = gIQA2dVUKP }}

Results: