Module:RoundN/sandbox: Difference between revisions

Content deleted Content added
Better version of fix plus comment (holy smokes I think this works!)
test
Tag: Reverted
Line 731:
end
col.n = 0
col.t2 = nil
for r = bumps + 1, rows, p.unit * 2 do
tab.r = rowNum[r]:tag'td'
Line 740 ⟶ 739:
col.n = col.n + 2
col.t2 = skipMatch[col.tot + col.n / 2 + 1] and 3 or ((skipMatch[col.top + col.n] and 1 or 0) + (skipMatch[col.top + col.n + 1] and 2 or 0))
if col.t == 0 then --draws the ']' when a PAIR of matches needs lines
tab.r
:attr{rowspan = maxSpan(p.unit * 2, r, rows)}
Line 747 ⟶ 746:
['border-left'] = 0
})
else
else --draws the lines when only top OR bottom match need lines
tab.r
:attr{rowspan = maxSpan(p.unit, r, rows)}
Line 847 ⟶ 846:
color = p.textColor.head,
['text-align'] = 'center',
width = width,
['font-weight'] = 'bold'
}
:wikitext(arg(1, ' '))