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

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(comment out most of the links to make it easier to prototype the main module)
m (15 revisions imported)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
return {
 
return {
blurb = "''Find sources:'' $1 – $2",
+
-- Blurb
introLink = {'google'},
+
-- $1 is the intro link, and $2 represents the other links.
 +
blurb = "''Find sources:'' $1$2",
 +
 
 +
-- Links
 
links = {
 
links = {
{'google news'},
+
{
--[[
+
code = 'google',
{'google newspapers'},
+
display = 'Google',
{'google books'},
+
separator = ' (',
{'google scholar'},
+
},
{'jstor'},
+
{
{'google free images'}
+
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 = 'jstor',
 +
display = 'JSTOR',
 +
},
 +
{
 +
code = 'new york times',
 +
display = "''NYT''",
 +
},
 +
{
 +
code = 'wikipedia library',
 +
display = 'TWL',
 +
},
 
}
 
}
 
}
 
}

Latest revision as of 16:36, 26 September 2020


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 = 'jstor',
			display = 'JSTOR',
		},
		{
			code = 'new york times',
			display = "''NYT''",
		},
		{
			code = 'wikipedia library',
			display = 'TWL',
		},
	}
}