Module:qhv-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 97: Line 97:
pos_functions[poscat](class, parent_args, data)
pos_functions[poscat](class, parent_args, data)
end
end
table.remove(data.categories, "High Valyrian unknown nouns")
return require("Module:headword").full_headword(data)
return require("Module:headword").full_headword(data)
Line 118: Line 116:
table.insert(data.genders, args[1])
table.insert(data.genders, args[1])
table.insert(data.categories, "High Valyrian " .. gender_names[args[1]] .. " " .. data.pos_category)
table.insert(data.categories, "High Valyrian " .. (args[1] == "?" and "" or gender_names[args[1]]) .. " " .. data.pos_category)
if not args["noinf"] then
if not args["noinf"] then