Module:Portal bar/sandbox: Difference between revisions

Content deleted Content added
nomobile instead of navbox
try span
Line 128:
local li = nav:tag('li')
local portalSpan = li:tag('span')
li:wikitext('[[Wikipedia:Contents/Portals|Portal]]')
portalSpan:css('font-weight','normal')
liportalSpan:wikitext('[[Wikipedia:Contents/Portals|Portal]]')
if #portals > 1 then
liportalSpan:wikitext('s')
end
liportalSpan:wikitext(':')
for _, portal in ipairs( portals ) do
nav