Module:Portal bar/sandbox: Difference between revisions

Content deleted Content added
track redlink portals even when args.redlinks is true
protect against empty portals and args
Line 44:
-- Don't display a blank navbox if no portals were specified.
if (not portals) or (#portals < 1) then return '' end
args = args or {}
-- Normalize arguments