Difference between revisions of "Template:SEOLinks"

From Ballotpedia
Jump to: navigation, search
(Added fields to match NGOLinks)
(Adding fields for SEOs who have run for federal office)
Line 41: Line 41:
 
}}{{#if:{{{snopes|}}}|
 
}}{{#if:{{{snopes|}}}|
 
** [http://www.snopes.com/politics/{{{snopes}}} Snopes]
 
** [http://www.snopes.com/politics/{{{snopes}}} Snopes]
 +
 +
}}{{#if:{{{fec|}}}{{{fec2|}}}{{{opensecrets|}}}{{{legistorm|}}}{{{assets|}}}|
 +
*Financial (federal level):
 +
}}{{#if:{{{fec|}}}|
 +
** [http://images.nictusa.com/cgi-bin/can_detail/{{{fec}}} FEC contributions]
 +
** [http://images.nictusa.com/cgi-bin/fecimg/?{{{fec}}} FEC documents]
 +
}}{{#if:{{{fec2|}}}|
 +
** [http://images.nictusa.com/cgi-bin/can_detail/{{{fec2}}} FEC contributions]
 +
** [http://images.nictusa.com/cgi-bin/fecimg/?{{{fec2}}} FEC documents]
 +
}}{{#if:{{{opensecrets|}}}|
 +
** [http://www.opensecrets.org/politicians/summary.php?cid={{{opensecrets}}} OpenSecrets.org]
 +
}}{{#if:{{{legistorm|}}}|
 +
** [http://www.legistorm.com/member/{{{legistorm}}} LegiStorm.com]
 +
}}{{#if:{{{assets|}}}|
 +
** [http://apps.washingtonpost.com/politics/capitol-assets/member/{{{assets}}}/ ''Washington Post'']
  
 
}}{{#if:{{{followthemoney|}}}|
 
}}{{#if:{{{followthemoney|}}}|
*Financial:  
+
*Financial (state level):
 
}}{{#if:{{{followthemoney|}}}|
 
}}{{#if:{{{followthemoney|}}}|
 
** [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Follow The Money]  
 
** [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Follow The Money]  

Revision as of 10:15, 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:CongLinks, Template:LegisLinks and Template:NGOLinks

{{SEOLinks | fb = | flickr = | twitter = | youtube = | nga = | nndb = | our = | votesmart = | wikipedia = | politifact = | followthemoney = | ontheissues = | worldcat = | c-span = | rose = | imdb = | bloomberg = | guardian = | nyt = | wsj = | washpo = }}

Usage

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

Field Data Info Source
fb id Profile http://www.facebook.com/[####]
flickr id Photostream http://www.flickr.com /photos/[####]
twitter id Profile http://twitter.com/[####]
youtube id Profile http://www.youtube.com/user/[####]
nga National Governors Association id Biography http://www.nga.org /cms/home/governors/[####]
nndb NNDB index Profile https://web.archive.org/web/2/http://www.nndb.org /people/[####]
our Candidate ID Profile http://www.ourcampaigns.com/CandidateDetail.html?CandidateID=[####]'
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/[####]
politifact name File http://www.politifact.com/personalities/[####]'
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.guardian.co.uk /[####]
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:
{{SEOLinks | fb = NikkiHaley | flickr = 32938591@N04 | twitter = nikkihaley | youtube = nikkihaley | nga = current-governors/col2-content/main-content-list/nikki-r-haley.html | nndb = 320/000265522 | our = 43129 | votesmart = 47879 | wikipedia = Nikki_Haley | politifact = nikki-haley | followthemoney = 6845 | ontheissues = Nikki_Haley.htm | worldcat = lccn-n2011-73564 | c-span = nikkihaley | rose = | imdb = nm3949414 | bloomberg = nikki-haley | guardian = | nyt = h/nikki_haley | wsj = | washpo = gIQAPvGpAP }}

Results: