Module:taln-headword: Difference between revisions

No edit summary
No edit summary
Line 14: Line 14:
-- The main entry point.
-- The main entry point.
function export.show(frame)
function export.show(frame)
local poscat = frame.args[1] or
local iparams = {
error("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")
[1] = {required = true},
 
}
local iargs = require("Module:parameters").process(frame.args, iparams)
local iargs = require("Module:parameters").process(frame.args, iparams)
local args = frame:getParent().args
local args = frame:getParent().args