Difference between revisions of "Module:Find sources/templates/Find sources"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
m (Reverted edits by Headbomb (talk) to last version by Enterprisey)
blackwiki>Johnuniq
(change how results are displayed per Template talk:Find sources#Appearance)
Line 2: Line 2:
 
-- Blurb
 
-- Blurb
 
-- $1 is the intro link, and $2 represents the other links.
 
-- $1 is the intro link, and $2 represents the other links.
blurb = "''Find sources:'' $1 – $2",
+
blurb = "''Find sources:'' $1$2",
  
 
-- Links
 
-- Links
introLink = {
 
code = 'google'
 
},
 
 
links = {
 
links = {
 +
{
 +
code = 'google',
 +
display = 'Google',
 +
separator = ' (',
 +
},
 +
{
 +
code = 'google books',
 +
display = 'books',
 +
},
 
{
 
{
 
code = 'google news',
 
code = 'google news',
display = 'news'
+
display = 'news',
 
},
 
},
 
{
 
{
 
code = 'google newspapers',
 
code = 'google newspapers',
display = 'newspapers'
+
display = 'newspapers',
},
 
{
 
code = 'google books',
 
display = 'books'
 
 
},
 
},
 
{
 
{
 
code = 'google scholar',
 
code = 'google scholar',
display = 'scholar'
+
display = 'scholar',
 
},
 
},
 
{
 
{
code = 'highbeam',
+
code = 'google free images',
display = 'HighBeam'
+
display = 'free images',
 
},
 
},
 
{
 
{
code = 'jstor',
+
code = 'wikipedia reference search',
display = 'JSTOR'
+
display = 'WP refs',
 +
afterDisplay = ')',
 
},
 
},
 
{
 
{
code = 'google free images',
+
code = 'free news sources',
display = 'free images'
+
display = 'FENS',
 
},
 
},
 
{
 
{
code = 'free news sources',
+
code = 'highbeam',
display = 'free news sources'
+
display = 'HighBeam',
 
},
 
},
 
{
 
{
code = 'wikipedia library',
+
code = 'jstor',
display = 'The Wikipedia Library'
+
display = 'JSTOR',
 
},
 
},
 
{
 
{
 
code = 'new york times',
 
code = 'new york times',
display = 'NYT'
+
display = 'NYT',
 
},
 
},
 
{
 
{
code = 'wikipedia reference search',
+
code = 'wikipedia library',
display = 'WP reference'
+
display = 'TWL',
}
+
},
 
}
 
}
 
}
 
}

Revision as of 03:29, 25 August 2018


return {
	-- Blurb
	-- $1 is the intro link, and $2 represents the other links.
	blurb = "''Find sources:'' $1$2",

	-- Links
	links = {
		{
			code = 'google',
			display = 'Google',
			separator = ' (',
		},
		{
			code = 'google books',
			display = 'books',
		},
		{
			code = 'google news',
			display = 'news',
		},
		{
			code = 'google newspapers',
			display = 'newspapers',
		},
		{
			code = 'google scholar',
			display = 'scholar',
		},
		{
			code = 'google free images',
			display = 'free images',
		},
		{
			code = 'wikipedia reference search',
			display = 'WP refs',
			afterDisplay = ')',
		},
		{
			code = 'free news sources',
			display = 'FENS',
		},
		{
			code = 'highbeam',
			display = 'HighBeam',
		},
		{
			code = 'jstor',
			display = 'JSTOR',
		},
		{
			code = 'new york times',
			display = 'NYT',
		},
		{
			code = 'wikipedia library',
			display = 'TWL',
		},
	}
}