Difference between revisions of "Template:CongLinks"

From Ballotpedia
Jump to: navigation, search
(Separating federal from state for clarity)
m
Line 50: Line 50:
 
** [http://www.snopes.com/politics/{{{snopes}}} Snopes]
 
** [http://www.snopes.com/politics/{{{snopes}}} Snopes]
  
}}{{#if:{{{fec|}}}{{{fec2|}}}{{{opensecrets|}}}{{{legistorm|}}}{{{assets|}}}{{{followthemoney|}}}|
+
}}{{#if:{{{fec|}}}{{{fec2|}}}{{{opensecrets|}}}{{{legistorm|}}}{{{assets|}}}|
 
*Financial (federal level):
 
*Financial (federal level):
 
}}{{#if:{{{fec|}}}|
 
}}{{#if:{{{fec|}}}|

Revision as of 10:11, 26 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:LegisLinks, Template:NGOLinks and Template:SEOLinks

{{CongLinks | fb = | flickr = | linked = | twitter = | youtube = | congbio = | nga = | nndb = | wikipedia = | govtrack = | merge = | natjournal = | opencong = | our = | votesmart = | rollcall = | factcheck = | politifact = | snopes = | fec = | legistorm = | opensecrets = | assets = | 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
fb name Social media http://www.facebook.com /[####]
flickr name Social media http://www.flickr.com /photos/[####]
twitter name Social media http://twitter.com /[####]
youtube name Social media http://www.youtube.com /[####]
linked name Social media http://www.linkedin.com /pub/[####]
congbio id Biographies http://bioguide.congress.gov /scripts/biodisplay.pl?index=[####]
nga id Biographies http://www.nga.org /cms/home/governors/[####]
nndb Id Biographies https://web.archive.org/web/2/http://www.nndb.org /people/[####]
wikipedia name Biographies http://en.wikipedia.org /wiki/[####]
govtrack id Political profiles http://www.govtrack.us /congress/person.xpd?id=[####]
merge name Profile of official http://www.congressmerge.com /[####]
natjournal id Political profiles http://www.nationaljournal.com /almanac/member/[####]
opencong path name Political profiles http://www.opencongress.org /people/show/[####]
our id Political profiles http://www.ourcampaigns.com /CandidateDetail.html?CandidateID=[####]
votesmart id Political profiles http://www.votesmart.org /candidate/[votesmart]'
rollcall id Political profiles http://www.rollcall.com /members/[####].html
factcheck id Fact-checking http://www.factcheck.org /tag/[####]
politifact id Fact-checking http://www.politifact.com /personalities/[####]
snopes id Fact-checking http://www.snopes.com /politics/[####]
fec id Financial http://images.nictusa.com /cgi-bin/fecimg/?[####]
opensecrets id Financial http://www.opensecrets.org /politicians/summary.php?CID=[####]
legistorm path name Financial http://www.legistorm.com /[####]
followthemoney id Financial http://www.followthemoney.org/ database/uniquecandidate.phtml?uc=[####]
ontheissues path name Issue positions http://www.ontheissues.org /[####]
congress path name Legislation http://beta.congress.gov /member/[####]
worldcat id Works by or about http://worldcat.org /identities/[####]
c-span name Media appearances http://www.c-spanvideo.org /[####]
rose id Media appearances http://www.charlierose.com /guest/view/[####]
imdb id Media appearances http://www.imdb.com /name/[####]
bloomberg name Media coverage http://topics.bloomberg.com /[####]
guardian path name Media coverage http://www.theguardian.com /[####]
nyt path name Media coverage http://topics.nytimes.com /top/reference/timestopics/people/[####]
wsj path name Media coverage http://topics.wsj.com /person/[####]
washpo id Media coverage http://www.washingtonpost.com /politics/[####]_topic.html

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:
{{CongLinks | fb = MickMulvaneyforCongress | flickr = mickmulvaney | linked = mick-mulvaney | twitter = mickmulvaney | youtube = mmulvaneysc | congbio = M001182 | nga = current-governors/col2-content/main-content-list/pat-quinn.html | nndb = 123/000161563 | wikipedia = Mick_Mulvaney | govtrack = 412474 | merge = test | natjournal = 1790 | opencong = 412474_Mick_Mulvaney | ontheissues = House/Mick_Mulvaney.htm | our = test | votesmart = 60348 | rollcall = 123 | factcheck = mick-mulvaney | politifact = mick-mulvaney | snopes = test | fec = H0SC05031 | opensecrets = N00031412 | legistorm = 2795/Rep_Mick_Mulvaney_SC.html | assets = test | followthemoney = 8288 | congress = mick-mulvaney/123 | worldcat = lccn-no2002-123 | c-span = muckmulvaney | rose = 123 | imdb = nm123 | bloomberg = mick-mulvaney | csmonitor = test | economist = test | ft = test | guardian = mick-mulvaney | hill = mick-mulvaney | huffpo = mick-mulvaney | nyt = m/mick_mulvaney | wsj = m/mick-mulvaney/123 | washpo = gIQA2dVUKP | washtime = mick-mulvaney }}

Results: