Anonymous user
Module:Navbox: Difference between revisions
Reverted 1 edit by Alakzi (talk): Sigh, I meant to do that in the sandbox. (TW)
(Sync and fix styleratio invocation) |
|||
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
Line 290 ⟶ 277:
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
return cats
end
|