Module:qhv-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 113: Line 113:
["rc"] = {type = "boolean"},
["rc"] = {type = "boolean"},
["rp"] = {type = "boolean"},
["rp"] = {type = "boolean"},
["og"] = {},
}
}
Line 122: Line 123:
if not args["noinf"] then
if not args["noinf"] then
args["gen"] = generate_gen_sg(args[2], args["rc"], args["rp"])
args["gen"] = generate_gen_sg(args["og"] or args[2], args["rc"], args["rp"])
for i, form in ipairs(args["gen"]) do
for i, form in ipairs(args["gen"]) do