Module:qay-headword: Difference between revisions

No edit summary
No edit summary
 
Line 52: Line 52:
local head = parent_args[2] or PAGENAME
local head = parent_args[2] or PAGENAME
local translit = PAGENAME
local poscat = frame.args[1] or error("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")
local poscat = frame.args[1] or error("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")
Line 60: Line 59:
lang = lang,
lang = lang,
heads = {head},
heads = {head},
translits = {translit},
inflections = {},
inflections = {},
genders = {},
genders = {},