Modul:Navbox: Unterschied zwischen den Versionen

change hasBackgroundColors to check titlestyle/groupstyle/basestyle contains the word background
(various fixes from sandbox)
(change hasBackgroundColors to check titlestyle/groupstyle/basestyle contains the word background)
Zeile 271: Zeile 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


Anonymer Benutzer