Module:qay-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 84: Line 84:
table.insert(data.genders, sub(gender_names[args[1]], 1, 2))
table.insert(data.genders, sub(gender_names[args[1]], 1, 2))
table.insert(data.categories, "Ayeri " .. (args[1] == "?" and "" or gender_names[args[1]]) .. " " .. data.pos_category)
table.insert(data.categories, lang:getCanonicalName() .. (args[1] == "?" and "" or gender_names[args[1]]) .. " " .. data.pos_category)
if not args["nopl"] then
if not args["nopl"] then
Line 95: Line 95:
args["pl"].label = "plural"
args["pl"].label = "plural"
table.insert(data.inflections, args["pl"])
table.insert(data.inflections, args["pl"])
else
table.insert(data.categories, lang:getCanonicalName() .. " uncountable nouns")
table.insert(data.inflections, {label = glossary_link("uncountable")})
end
end
end
end