Module:government: Difference between revisions

Added cat override function
mNo edit summary
(Added cat override function)
Line 78: Line 78:
else
else
local function glossary(form, colour)
local function glossary(form, colour)
form = mw.ustring.gsub(form, "^%*", "")
if mw.ustring.sub(form, 1, 1) == "_" then
if mw.ustring.sub(form, 1, 1) == "_" then
return "''" .. mw.ustring.sub(form, 2) .. "''"
return "''" .. mw.ustring.sub(form, 2) .. "''"