Module:government: Difference between revisions

Jump to navigation Jump to search
Added auto decatting of accusative with verbs
(Added cat override function)
(Added auto decatting of accusative with verbs)
 
Line 137: Line 137:
temp_append(glossary(form, colour))
temp_append(glossary(form, colour))
if language and pos and data[form] then
if language and pos and data[form] then
temp_append("[[Category:" .. language.name .. " " .. pluralize(pos) .. " governing the " .. data[form].label .. "]]")
if not (data[form].label == "accusative" and pos == "verb") then
temp_append("[[Category:" .. language.name .. " " .. pluralize(pos) .. " governing the " .. data[form].label .. "]]")
end
end
end
else
else

Navigation menu