Module:Navbox: Difference between revisions

change hasBackgroundColors to check titlestyle/groupstyle/basestyle contains the word background
Enwikipedia>Jackmcbarn
(various fixes from sandbox)
Enwikipedia>WOSlinker
(change hasBackgroundColors to check titlestyle/groupstyle/basestyle contains the word background)
Line 271:
 
local function hasBackgroundColors()
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
 
Anonymous user