Module:Lalislink
Appearance
require('strict')
local p = {}
local getArgs = require('Module:Arguments').getArgs
function p._link(args)
local title = args[1] or ""
local first = mw.ustring.gsub(title, "(.).*", "%1")
return '<span class="smallcaps" style="font-variant:small-caps;">' .. "[[A Dictionary of the Lithuanian and English Languages/" .. first .. "#" .. title .. "|" .. title .. "]]" .. "</span>"
end
function p.link(frame)
return p._link(getArgs(frame))
end
return p