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
(new FEC viewer link)
(Social media, seq)
Line 1: Line 1:
{{#if:{{{fb|}}}|
+
{{#if:{{{fb|}}}{{{flickr|}}}{{{linked|}}}{{{twitter|}}}{{{youtube|}}}|
* [http://www.facebook.com/{{{fb}}} Profile] at Facebook
+
*Social media:
 +
}}{{#if:{{{fb|}}}|
 +
**[http://www.facebook.com/{{{fb}}} Facebook]
 
}}{{#if:{{{flickr|}}}|
 
}}{{#if:{{{flickr|}}}|
* [http://www.flickr.com/photos/{{{flickr}}} Photostream] at Flickr
+
**[http://www.flickr.com/photos/{{{flickr}}} Flickr]
 +
}}{{#if:{{{linked|}}}|
 +
**[http://www.linkedin.com/pub/{{{linked}}} LinkedIn]
 
}}{{#if:{{{twitter|}}}|
 
}}{{#if:{{{twitter|}}}|
* [http://twitter.com/{{{twitter}}} Profile] at Twitter
+
**[http://twitter.com/{{{twitter}}} Twitter]
 
}}{{#if:{{{youtube|}}}|
 
}}{{#if:{{{youtube|}}}|
* [http://www.youtube.com/user/{{{youtube}}} Video Channel] on YouTube
+
**[http://www.youtube.com/user/{{{youtube}}} YouTube]
}}{{#if:{{{linked|}}}|
+
 
* [http://www.linkedin.com/pub/{{{linked}}} Profile] at LinkedIn
+
 
}}{{#if:{{{congbio|}}}|
 
}}{{#if:{{{congbio|}}}|
 
* [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''
Line 15: Line 18:
 
}}{{#if:{{{nga|}}}|
 
}}{{#if:{{{nga|}}}|
 
* [http://www.nga.org/cms/home/governors/{{{nga}}} Biography] at the National Governors Association
 
* [http://www.nga.org/cms/home/governors/{{{nga}}} Biography] at the National Governors Association
}}{{#if:{{{votesmart|}}}|
+
}}{{#if:{{{merge|}}}|
* [http://www.votesmart.org/candidate/{{{votesmart}}} Summary], [http://www.votesmart.org/candidate/biography/{{{votesmart}}} biography], [http://www.votesmart.org/candidate/key-votes/{{{votesmart}}} voting record], and [http://www.votesmart.org/candidate/evaluations/{{{votesmart}}} interest group ratings] at Project Vote Smart
+
* [http://www.congressmerge.com/onlinedb/cgi-bin/newmemberbio.cgi?lang=&member={{{merge}}}&site=congressmerge Congressional profile] at CongressMerge.com
}}{{#if:{{{rollcall|}}}|
+
* [http://www.rollcall.com/members/{{{rollcall}}}.html Congressional profile and news] at Roll Call
+
 
}}{{#if:{{{govtrack|}}}|
 
}}{{#if:{{{govtrack|}}}|
 
* [http://www.govtrack.us/congress/person.xpd?id={{{govtrack}}} Congressional profile] at GovTrack.us
 
* [http://www.govtrack.us/congress/person.xpd?id={{{govtrack}}} Congressional profile] at GovTrack.us
 +
}}{{#if:{{{nndb|}}}|
 +
* [http://www.nndb.com/people/{{{nndb}}} Profile] at Notable Names Database
 
}}{{#if:{{{opencong|}}}|
 
}}{{#if:{{{opencong|}}}|
 
* [http://www.opencongress.org/people/show/{{{opencong}}} Congressional profile] at OpenCongress.org
 
* [http://www.opencongress.org/people/show/{{{opencong}}} Congressional profile] at OpenCongress.org
}}{{#if:{{{merge|}}}|
+
}}{{#if:{{{votesmart|}}}|
* [http://www.congressmerge.com/onlinedb/cgi-bin/newmemberbio.cgi?lang=&member={{{merge}}}&site=congressmerge Congressional profile] at CongressMerge.com
+
* [http://www.votesmart.org/candidate/{{{votesmart}}} Summary], [http://www.votesmart.org/candidate/biography/{{{votesmart}}} biography], [http://www.votesmart.org/candidate/key-votes/{{{votesmart}}} voting record], and [http://www.votesmart.org/candidate/evaluations/{{{votesmart}}} interest group ratings] at Project Vote Smart
}}{{#if:{{{ontheissuespath|}}}{{{ontheissues|}}}|
+
}}{{#if:{{{rollcall|}}}|
* [http://www.ontheissues.org/{{{ontheissuespath|{{{ontheissues}}}}}} Issue positions and quotes] at On The Issues
+
* [http://www.rollcall.com/members/{{{rollcall}}}.html Congressional profile and news] at Roll Call
}}{{#if:{{{congbio|}}}|
+
}}{{#if:{{{wikipedia|}}}|
* [http://projects.washingtonpost.com/congress/members/{{{congbio}}} Voting record] maintained by ''The Washington Post''
+
* [http://en.wikipedia.org/wiki/{{{wikipedia}}} Profile] at Wikipedia
}}{{#if:{{{congress|}}}|
+
 
* [http://beta.congress.gov/member/{{{congress}}} Legislation] at Congress.gov
+
}}{{#if:{{{surgexx|}}}|
+
* [http://www.statesurge.com/members/{{{surge}}} Current Bills Sponsored] at StateSurge.com
+
 
}}{{#if:{{{politifact|}}}|
 
}}{{#if:{{{politifact|}}}|
 
* [http://www.politifact.com/personalities/{{{politifact}}} Fact-checking] at PolitiFact
 
* [http://www.politifact.com/personalities/{{{politifact}}} Fact-checking] at PolitiFact
}}{{#if:{{{natjournal|}}}|
+
 
* [http://www.nationaljournal.com/almanac/member/{{{natjournal}}} Staff contacts, committees and profile] at NationalJournal.com
+
}}{{#if:{{{legistormxx|}}}|
+
* [http://www.legistorm.com/member/{{{legistorm}}} Earmarks, trips, staff salaries and financial disclosures] at LegiStorm.com
+
 
}}{{#if:{{{fec|}}}|
 
}}{{#if:{{{fec|}}}|
 
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec}}} Campaign finance reports and data] at the Federal Election Commission
 
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec}}} Campaign finance reports and data] at the Federal Election Commission
 
}}{{#if:{{{fec2|}}}|
 
}}{{#if:{{{fec2|}}}|
 
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec2}}} Campaign finance reports and data] at the Federal Election Commission
 
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec2}}} Campaign finance reports and data] at the Federal Election Commission
 +
}}{{#if:{{{legistormxx|}}}|
 +
* [http://www.legistorm.com/member/{{{legistorm}}} Earmarks, trips, staff salaries and financial disclosures] at LegiStorm.com
 
}}{{#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
 
}}{{#if:{{{followthemoney|}}}|
 
}}{{#if:{{{followthemoney|}}}|
 
* [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Campaign contributions] at Follow The Money
 
* [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Campaign contributions] at Follow The Money
 +
 +
}}{{#if:{{{ontheissuespath|}}}{{{ontheissues|}}}|
 +
* [http://www.ontheissues.org/{{{ontheissuespath|{{{ontheissues}}}}}} Issue positions and quotes] at On The Issues
 +
 +
}}{{#if:{{{congress|}}}|
 +
* [http://beta.congress.gov/member/{{{congress}}} Legislation] at Congress.gov
 +
 +
}}{{#if:{{{congbio|}}}|
 +
* [http://projects.washingtonpost.com/congress/members/{{{congbio}}} Voting record] maintained by ''The Washington Post''
 +
 +
}}{{#if:{{{worldcat|}}}|
 +
* [http://www.worldcat.org/identities/{{{worldcat}}} Works by or about {{{2|{{{name|{{PAGENAME}}}}}}}}] in libraries (WorldCat catalog)
 +
 
}}{{#if:{{{c-span|}}}|
 
}}{{#if:{{{c-span|}}}|
 
* [http://www.c-spanvideo.org/{{{c-span}}} Appearances] on ''C-SPAN''
 
* [http://www.c-spanvideo.org/{{{c-span}}} Appearances] on ''C-SPAN''
Line 55: Line 67:
 
}}{{#if:{{{imdb|}}}|
 
}}{{#if:{{{imdb|}}}|
 
* [http://www.imdb.com/name/{{{imdb}}} Appearances] at the Internet Movie Database
 
* [http://www.imdb.com/name/{{{imdb}}} Appearances] at the Internet Movie Database
 +
 
}}{{#if:{{{bloomberg|}}}|
 
}}{{#if:{{{bloomberg|}}}|
 
* [http://topics.bloomberg.com/{{{bloomberg}}} Collected news and commentary] at ''Bloomberg''
 
* [http://topics.bloomberg.com/{{{bloomberg}}} Collected news and commentary] at ''Bloomberg''
Line 65: Line 78:
 
}}{{#if:{{{washpo|}}}|
 
}}{{#if:{{{washpo|}}}|
 
* [http://www.washingtonpost.com/politics/{{{washpo}}}_topic.html Collected news and commentary]  at ''The Washington Post''
 
* [http://www.washingtonpost.com/politics/{{{washpo}}}_topic.html Collected news and commentary]  at ''The Washington Post''
}}{{#if:{{{worldcat|}}}|
+
 
* [http://www.worldcat.org/identities/{{{worldcat}}} Works by or about {{{2|{{{name|{{PAGENAME}}}}}}}}] in libraries (WorldCat catalog)
+
}}{{#if:{{{nndb|}}}|
+
* [http://www.nndb.com/people/{{{nndb}}} Profile] at Notable Names Database
+
}}{{#if:{{{wikipedia|}}}|
+
* [http://en.wikipedia.org/wiki/{{{wikipedia}}} Profile] at Wikipedia
+
 
}}{{#if:{{{findagrave|}}}|
 
}}{{#if:{{{findagrave|}}}|
 
* {{Find a Grave|name={{{name|{{PAGENAME}} }}}|{{{findagrave}}} }}
 
* {{Find a Grave|name={{{name|{{PAGENAME}} }}}|{{{findagrave}}} }}

Revision as of 21:43, 31 January 2014

[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: