Module:senseid/templates

local export = {}

function export.senseid_t(frame) local params = { [1] = {required = true, type = "language", default = "und"}, [2] = {required = true, list = true, default = ""}, tag = {set = {"li", "p"}, default = "li"}, }	local args = require("Module:parameters").process(frame:getParent.args, params)

return require("Module:senseid").senseid(args[1]:getFull, args[2], args.tag) end

function export.etymid_t(frame) local params = { [1] = {required = true, type = "language", default = "und"}, [2] = {required = true, default = ""} }	local args = require("Module:parameters").process(frame:getParent.args, params)

return require("Module:senseid").etymid(args[1]:getFull, args[2]) end

return export