This module implements {{R:Duden}}
.
local export = {}
local chart = { ='ae', ='oe', ='ue',
='Ae', ='Oe', ='Ue',
='sz', ='_', ='_',
='_' }
function export.create(frame)
local params = {
= {},
= {},
= {alias_of = 2},
}
local args = require("Module:parameters").process(frame:getParent().args, params)
local title = args or mw.title.getCurrentTitle().text
local termURLCode = args or mw.ustring.gsub(title,'.',chart)
local link = ""
if termURLCode == '' then
link = "''Duden'' online"
else
link = "“” in ''Duden'' online"
end
return link
end
return export