Module:Find sources/templates/Find general sources/sandbox
![]() | This is the module sandbox page for Module:Find sources/templates/Find general sources (diff). |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
![]() | This Lua module is used on approximately 883,000 pages, or roughly 1% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
edit{{#invoke:Find sources/templates/Find general sources|function_name}}
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 = 'bing',
display = 'Bing'
},
{
code = 'jstor',
display = 'JSTOR',
},
{
code = 'new york times',
display = "''NYT''",
tooltip = 'The New York Times',
},
{
code = 'wikipedia library',
display = 'WP Library',
tooltip = 'The Wikipedia Library',
},
}
}