Module:Find sources/templates/Find general sources: Difference between revisions

From All Skies Encyclopaedia
imported>Mathglot
(Undid revision 1100302227 by Mathglot (talk) Backing this out for now. It's still in beta, and the relevance algorithm for sorting results seems flaky, returning pre-WWII results first. After flipping the order to latest first, it obeyed that, but most recent aren't always the best. They probably need to work on it some more.)
imported>Paine Ellsworth
(per edit request at Module talk:Find sources)
Line 48: Line 48:
{
{
code = 'wikipedia library',
code = 'wikipedia library',
display = 'WP Library',
display = 'TWL',
tooltip = 'The Wikipedia Library',
tooltip = 'The Wikipedia Library',
},
},

Revision as of 18:14, 17 December 2022

Documentation for this module may be created at Module:Find sources/templates/Find general sources/doc

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 scholar',
			display = 'scholar',
		},
		{
			code = 'google free images',
			display = 'free images',
		},
		{
			code = 'wikipedia reference search',
			display = 'WP refs',
			afterDisplay = ')',
		},
		{
			code = 'free news sources',
			display = 'FENS',
			tooltip = 'Free English newspaper sources',
		},
		{
			code = 'jstor',
			display = 'JSTOR',
		},
		{
			code = 'new york times',
			display = "''NYT''",
			tooltip = 'The New York Times',
		},
		{
			code = 'wikipedia library',
			display = 'TWL',
			tooltip = 'The Wikipedia Library',
		},
	}
}