Content deleted Content added
move over to https |
use module to keep classes in a certain place |
||
Line 12:
end
local function addlink(
return '[' .. url .. ' <abbr title="' .. unabbreviated .. '">' .. abbreviation ..'</abbr>]'
item:wikitext(p .. '[' .. u .. ' ')▼
:wikitext(t)▼
item:wikitext(']' .. s)▼
end
Line 31 ⟶ 26:
local ret = mw.html.create('div')
:addClass('template-search')
:addClass('plainlinks')
local list1 = {
}
if long then
end
if long then
addlink('', 'https://www.britannica.com/search?nop&query=' .. ssenc, 'Encyclopaedia Britannica', 'eb', ' ')▼
addlink('', 'https://www.bartleby.com/cgi-bin/texis/webinator/65search?query=' .. ssenc, 'Columbia Encyclopedia', 'co', ' ')▼
addlink('', 'https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.pcmag.com%2Fencyclopedia_term%2F+' .. ssenc, 'PC Magazine Encyclopedia over Google', 'gct', ' ')▼
addlink('', 'https://scienceworld.wolfram.com/search/index.cgi?as_q=' .. ssenc, 'World of Science', 'sw', ' ')▼
addlink('', 'https://archive.org/search.php?query=' .. ssenc, 'Internet Archive', 'arc', ' ')▼
addlink('', 'https://babel.hathitrust.org/cgi/ls?field1=ocr;q1=' .. ssenc .. ';a=srchls;lmt=ft', 'HathiTrust', 'ht', ')')▼
addlink('', 'https://www.bing.com/search?q=' .. ssenc, 'Bing', 'b', ')')▼
end
local list2 = long and {
▲ addlink(
▲ addlink(
▲ addlink(
▲ addlink(
▲ addlink(
} or {
}
local make_list = require('Module:List').makeList
:wikitext(make_list('unbulleted', list1))
:wikitext(make_list('unbulleted', list2))
return frame:extensionTag{
|