SLP Badge Transparent.png
Read the
State Legislative Tracker
New edition available now!




Difference between revisions of "Template:CongLinks"

From Ballotpedia
Jump to: navigation, search
m
(Media)
Line 111: Line 111:
 
** [http://www.imdb.com/name/{{{imdb}}} IMDb]
 
** [http://www.imdb.com/name/{{{imdb}}} IMDb]
  
}}{{#if:{{{bloomberg|}}}{{{guardian|}}}{{{nyt|}}}{{{wsj|}}}{{{washpo|}}}|
+
}}{{#if:{{{bloomberg|}}}{{{csmonitor|}}}{{{economist|}}}{{{ft|}}}{{{guardian|}}}{{{hill|}}}{{{huffpo|}}}{{{nyt|}}}{{{wsj|}}}{{{washpo|}}}{{{washtime|}}}|
 
*Media coverage:  
 
*Media coverage:  
 
}}{{#if:{{{bloomberg|}}}|
 
}}{{#if:{{{bloomberg|}}}|
 
** [http://topics.bloomberg.com/{{{bloomberg}}} '' Bloomberg'']  
 
** [http://topics.bloomberg.com/{{{bloomberg}}} '' Bloomberg'']  
 +
}}{{#if:{{{csmonitor|}}}|
 +
** [http://www.csmonitor.com/tags/topic/{{{csmonitor}}} '' Christian Science Monitor'']
 +
}}{{#if:{{{economist|}}}|
 +
** [http://www.economist.com/topics/{{{economist}}} '' The Economist'']
 +
}}{{#if:{{{ft|}}}|
 +
** [http://www.ft.com/intl/topics/people/{{{ft}}}_topic.html '' Financial Times'']
 
}}{{#if:{{{guardian|}}}|
 
}}{{#if:{{{guardian|}}}|
 
** [http://www.theguardian.com/{{{guardian}}} '' Guardian'']  
 
** [http://www.theguardian.com/{{{guardian}}} '' Guardian'']  
 +
}}{{#if:{{{hill|}}}|
 +
** [http://thehill.com/social-tags/{{{hill}}} '' The Hill'']
 +
}}{{#if:{{{huffpo|}}}|
 +
** [http://www.huffingtonpost.com/news/{{{huffpo}}} '' Huffington Post'']
 
}}{{#if:{{{nyt|}}}|
 
}}{{#if:{{{nyt|}}}|
 
** [http://topics.nytimes.com/top/reference/timestopics/people/{{{nyt}}}/index.html '' New York Times'']  
 
** [http://topics.nytimes.com/top/reference/timestopics/people/{{{nyt}}}/index.html '' New York Times'']  
Line 123: Line 133:
 
}}{{#if:{{{washpo|}}}|
 
}}{{#if:{{{washpo|}}}|
 
** [http://www.washingtonpost.com/politics/{{{washpo}}}_topic.html '' Washington Post'']
 
** [http://www.washingtonpost.com/politics/{{{washpo}}}_topic.html '' Washington Post'']
 +
}}{{#if:{{{washtime|}}}|
 +
** [http://www.washingtontimes.com/topics/{{{washtime}}} '' Washington Times'']
 
}}{{#if:{{{findagravexx|}}}|
 
}}{{#if:{{{findagravexx|}}}|
 
* {{Find a Grave|name={{{name|{{PAGENAME}} }}}|{{{findagrave}}} }}
 
* {{Find a Grave|name={{{name|{{PAGENAME}} }}}|{{{findagrave}}} }}

Revision as of 12:05, 28 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 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: