This module implements {{R:jam:Jamaicans}}
.
local exports = {}
local lang = require("Module:languages").getByCode("jam")
local PAGENAME = mw.title.getCurrentTitle().text
-- The main entry point.
-- This is the only function that can be invoked from a template.
function exports.create(frame)
local query = PAGENAME
local strippedTerm = mw.ustring.toNFD(query)
:gsub("", "") -- strip combining diacritical marks, U+0300-U+036F
:gsub(' ', '-')
local encodedTerm = mw.uri.encode(strippedTerm) .. ".html"
local title = query
-- see https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:References
local output = " " ..
"– jamaicans.com Jamaican Patois dictionary"
return output
end
return exports