Module:Portal bar/sandbox: Difference between revisions

Content deleted Content added
tstyles
make this the ul directly
Line 45:
if #portals < 1 then return '' end
local nav = mw.html.create( 'divul' )
:addClass( 'portal-bar noprint metadata' )
:attr( 'role', 'navigation' )
Line 126:
end
local list = mw.html.create( 'ul' )
for _, portal in ipairs( portals ) do
listnav
:tag( 'li' )
:tag( 'span' )
Line 139 ⟶ 138:
) )
end
nav
:node( list )
return mw.getCurrentFrame():extensionTag{