Module:Navbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(various fixes from sandbox) |
(change hasBackgroundColors to check titlestyle/groupstyle/basestyle contains the word background) |
||
Line 271: | Line 271: | ||
local function hasBackgroundColors() |
local function hasBackgroundColors() |
||
return args.titlestyle or args.groupstyle |
return mw.ustring.match(args.titlestyle or '','background') or mw.ustring.match(args.groupstyle or '','background') or mw.ustring.match(args.basestyle or '','background') |
||
end |
end |
||