Module:Find sources/templates/Find general sources/sandbox
Appearance
| This is the module sandbox page for Module:Find sources/templates/Find general sources (diff). |
| This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
| This Lua module is used on approximately 896,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 = "gemini",
display = "Gemini AI"
},
{
code = 'wikipedia reference search',
display = 'WP refs',
afterDisplay = ')',
},
{
code = 'free news sources',
display = 'FENS',
tooltip = 'Free English newspaper sources',
},
{
code = 'bing',
display = 'Bing',
separator = " (",
},
{
code = "copilot",
display = "Copilot AI",
afterDisplay = ')'
},
{
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',
},
}
}