Module:R:JNW

local export = {}

function export.create(frame) local args = frame:getParent.args local title = mw.title.getCurrentTitle.text local target = args[1] local entryid = args['id'] local base = "Justus van de Kamp et al., “[https://www.jiddischwoordenboek.nl/" local spec = "" local spec2 = "" local work = "]” in Jiddisch-Nederlands Woordenboek [Yiddish-Dutch Dictionary], Amsterdam: Stichting Jiddische Lexicografie, 1987-present (ongoing). ." local link = ""

if target then spec2 = "".. target .."" else spec2 = "".. title .."" end if entryid then spec = "detail/".. entryid .."/?q=".. mw.uri.encode(spec2) .."" else spec = "search/?q=".. mw.uri.encode(spec2) .."&type=woordenboekapp.Trefregel" end

link = "".. base .. spec ..' '.. spec2 .. work .."" return link end return export