Module:Navbox/sandbox: Difference between revisions

Content deleted Content added
add navbox-list-with-group
track titlegroup; search doesn't think these exist meaningfully anymore
Line 319:
return true
end
end
return false
end
 
local function hasTitleGroup()
if args[cfg.arg.titlegroup] and args[cfg.arg.titlegroup] ~= '' then
return true
end
return false
Line 351 ⟶ 358:
if isIllegible() then table.insert(cats, cfg.category.illegible) end
if hasBorders() then table.insert(cats, cfg.category.borders) end
if hasTitleGroup() then table.insert(cats, cfg.category.titlegroup) end
return cats
end