Module:qay-headword: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 59: Line 58:
local data = {
local data = {
lang = lang,
lang = lang,
heads = head,
heads = {head},
translits = translit,
inflections = {},
inflections = {},
genders = {},
genders = {},