Module:qhv-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 119: Line 119:
table.insert(data.inflections, args["gen"])
table.insert(data.inflections, args["gen"])
if data.pos_category == "nouns" or not args["nopl"] then
if data.pos_category == "nouns" then
args["pl"] = generate_nom_pl()
if not args["nopl"] then
args["pl"] = generate_nom_pl()
for i, form in ipairs(args["pl"]) do
args["pl"][i] = {term = form}
for i, form in ipairs(args["pl"]) do
args["pl"][i] = {term = form}
end
args["pl"].label = "plural"
table.insert(data.inflections, args["pl"])
end
end
args["pl"].label = "plural"
table.insert(data.inflections, args["pl"])
end
end
end
end