Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 44: Line 44:
lang = lang,
lang = lang,
heads = {},
heads = {},
inflections = {},
inflections = {{}},
genders = {},
genders = {},
pos_category = poscat,
pos_category = poscat,
Line 71: Line 71:
if args[2] then table.insert(data.genders, args[2] .. "n") end
if args[2] then table.insert(data.genders, args[2] .. "n") end
table.insert(data.inflections, args.m or m_n.head)
table.insert(data.inflections[1], args.m or m_n.head)
data.inflections[1].label = "marked"
data.inflections[1].label = "marked"
end
end