Module:qhv-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 119: Line 119:
if not args["noinf"] then
if not args["noinf"] then
args["gen"] = generate_gen_sg()
args["gen"] = generate_gen_sg(args[2])
for i, form in ipairs(args["gen"]) do
for i, form in ipairs(args["gen"]) do
Line 131: Line 131:
if data.pos_category == "nouns" and not args["noinf"] then
if data.pos_category == "nouns" and not args["noinf"] then
if not args["nopl"] then
if not args["nopl"] then
args["pl"] = generate_nom_pl()
args["pl"] = generate_nom_pl(args[2])
for i, form in ipairs(args["pl"]) do
for i, form in ipairs(args["pl"]) do