Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 76: Line 76:
data.inflections[1].label = "marked"
data.inflections[1].label = "marked"
if args.decl then table.insert(data.categories, "Siwa " .. args.decl .. "-declension " .. (args.p and "proper nouns" or "nouns")) end
if args.decl then table.insert(data.categories, "Siwa " .. args.decl .. "-declension " .. data.pos_category) end
if args.p then
data.categories[1] = nil
table.insert(data.categories, "Siwa proper nouns")
end
end
end
pos_functions["proper nouns"] = pos_functions.nouns


pos_functions.adjectives = function(class, args, data)
pos_functions.adjectives = function(class, args, data)