A modult a Modul:R:Duden/doc lapon tudod dokumentálni
local export = {}
local chart = { ='ae', ='oe', ='ue',
='Ae', ='Oe', ='Ue',
='sz', ='_', ='_' }
function export.create(frame)
local args = frame:getParent().args
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 = " - ''Duden''"
end
return link
end
return export