Changes
don't need a special function for the list1 row, and fix for border=none
-- List rows
--
function renderFirstListRowrenderListRow(tbl, listnum) if not args.list1 then return end
local row = addTableRow(tbl)
row
.tag('td')
end
if args['group' .. listnum] then
local groupCell = row.tag('th')
.newline()
.wikitext(args['list' .. listnum])
if listnum == 1 and args.image then
row
.tag('td')
.addClass('navbox-image')
.addClass(args.imageclass)
.css('width', '0%')
.css('padding', '0px 0px 0px 2px')
.cssText(args.imagestyle)
.attr('rowspan', 2 * #listnums - 1)
.tag('div')
.newline()
.wikitext(args.image)
end
end
renderTitleRow(tbl)
renderAboveRow(tbl)
for i, listnum in ipairs(listnums) do
end
renderBelowRow(tbl)
.css('padding', '2px')
.node(tbl)
else -- border == 'none'
res.node(tbl)
end