Module:Equipment/Recommended: Difference between revisions

m
colspanning empty cols
m (familiar left and right)
m (colspanning empty cols)
Line 100: Line 100:
end
end
end
end
 
if #row_data > 0 or args.showall then
if #row_data > 0 or args.showall then
parent:node(make_row(v, row_data, compact))
parent:node(make_row(v, row_data, compact))
end
if #row_data < greatest_row_size then
local emptycol = mw.html.create('td'):attr('colspan', greatest_row_size-#rowdata)
parent:node(emptycol)
end
end
end
end
892

edits