Модул:senseid/templates
Изглед
Script error: The function "main" does not exist.
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("Модул:parameters").process(frame:getParent().args, params)
return require("Модул: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("Модул:parameters").process(frame:getParent().args, params)
return require("Модул:senseid").etymid(args[1]:getFull(), args[2])
end
return export