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




Difference between revisions of "Template:SEOLinks"

From Ballotpedia
Jump to: navigation, search
(Added fields to match NGOLinks)
Line 47: Line 47:
 
** [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Follow The Money]  
 
** [http://www.followthemoney.org/database/uniquecandidate.phtml?uc={{{followthemoney}}} Follow The Money]  
  
}}{{#if:{{{natjournal|}}}{{{votesmart|}}}|
+
}}{{#if:{{{votesmart|}}}|
 
*Interest group ratings:
 
*Interest group ratings:
 
}}{{#if:{{{votesmart|}}}|
 
}}{{#if:{{{votesmart|}}}|
Line 79: Line 79:
 
** [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/organisations/{{{ft}}}_topic.html '' Financial Times'']
 
}}{{#if:{{{guardian|}}}|
 
}}{{#if:{{{guardian|}}}|
 
** [http://www.guardian.co.uk/{{{guardian}}} ''Guardian'']  
 
** [http://www.guardian.co.uk/{{{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 91: Line 101:
 
}}{{#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'']
 
}}{{colend}}
 
}}{{colend}}
 
<noinclude>
 
<noinclude>
 
{{Documentation}}[[Category:State executive tools]][[Category:State executive templates]]
 
{{Documentation}}[[Category:State executive tools]][[Category:State executive templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:34, 24 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 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: