Module:Portal bar/sandbox: Difference between revisions

Content deleted Content added
add option border=no
maybe better without hlist?
Line 13:
local noBorder = yesno( args.border ) == false -- Returns true if args.border is "no", "n", "false", 0 or false.
local list = htmlBuilder.create( 'ul' )
list
.addClass( noBorder and 'hlist' )
for i, portal in ipairs( portals ) do
list