Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 78: Line 78:
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 " .. (args.p and "proper nouns" or "nouns")) end
if args.p then
if args.p then
table.remove(data.categories, 1)
data.categories[1] = nil
table.insert(data.categories, "Siwa proper nouns")
table.insert(data.categories, "Siwa proper nouns")
end
end