Module:R:JNW
Jump to navigation
Jump to search
- The following documentation is located at Module:R:JNW/documentation. [edit]
- Useful links: subpage list • links • transclusions • testcases • sandbox
This module implements Justus van de Kamp et al., “R:JNW” in Jiddisch-Nederlands Woordenboek [Yiddish-Dutch Dictionary], Amsterdam: Stichting Jiddische Lexicografie, 1987-present (ongoing). [1].
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). [https://www.jiddischwoordenboek.nl/]."
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