Module:RoundN: Difference between revisions

Content deleted Content added
m minor bug
test multi-round skip
Line 139:
RD.r = r + bumps
if rowNum[RD.r] and m.num <= RD.tot then
if c == 1 and skipMatch[m.num] then
if m.phase == 0 then
rowNum[RD.r]:tag'td':attr{rowspan = 6, colspan = 2}
Line 185:
if ((r - bumps - 1) / (p.unit * 2)) % 2 == 0 then
RD.t = RD.t2 or ((skipMatch[RD.top] and 1 or 0) + (skipMatch[RD.top + 1] and 2 or 0))
RD.t2 = (skipMatch[RD.top + RD.n + 2] and 1 or 0) + (skipMatch[RD.top + RD.n + 3] and 2 or 0)
RD.n = RD.n + 2
RD.t2 = (skipMatch[RD.top + RD.n + 2] and 1 or 0) + (skipMatch[RD.top + RD.n + 31] and 2 or 0)
if c > 1 or RD.t == 0 then
p.tag
Line 205:
:attr{rowspan = maxSpan(p.unit * 4, r + p.unit, rows)}
:css{
['border-width'] = (RD.t % 2 < 13 and 2 or 0) .. 'px 0 ' .. (RD.t2 < 3 and rowNum[r + p.unit * 5] and '1px' or 0),
['border-style'] = 'solid'
}