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

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
m (ce)
blackwiki>Johnuniq
(trial new display format 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) – $3",
+
blurb = "''Find sources:'' $1$2",
  
 
-- Links
 
-- Links
introLink = {
 
code = 'google',
 
display = 'Google'
 
},
 
 
links = {
 
links = {
 +
{
 +
code = 'google',
 +
display = 'Google',
 +
separator = ' (',
 +
},
 
{
 
{
 
code = 'google books',
 
code = 'google books',
display = '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 scholar',
 
code = 'google scholar',
display = 'scholar'
+
display = 'scholar',
 
},
 
},
 
{
 
{
 
code = 'google free images',
 
code = 'google free images',
display = 'free images'
+
display = 'free images',
 
},
 
},
 
{
 
{
 
code = 'wikipedia reference search',
 
code = 'wikipedia reference search',
display = 'WP refs'
+
display = 'WP refs',
}
+
afterDisplay = ')',
},
+
},
morelinks = {
+
{
 +
code = 'free news sources',
 +
display = 'FENS',
 +
},
 
{
 
{
 
code = 'highbeam',
 
code = 'highbeam',
display = 'HighBeam'
+
display = 'HighBeam',
 
},
 
},
 
{
 
{
 
code = 'jstor',
 
code = 'jstor',
display = 'JSTOR'
+
display = 'JSTOR',
 
},
 
},
 
{
 
{
code = 'free news sources',
+
code = 'new york times',
display = 'FENS'
+
display = 'NYT',
 
},
 
},
 
{
 
{
 
code = 'wikipedia library',
 
code = 'wikipedia library',
display = 'TWL'
+
display = 'TWL',
 
},
 
},
{
 
code = 'new york times',
 
display = 'NYT'
 
}
 
 
}
 
}
 
}
 
}

Revision as of 11:12, 24 August 2018

Documentation for this module may be created at Module:Find sources/templates/Find sources/sandbox/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 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',
		},
	}
}