Module:RoundN: Difference between revisions

Content deleted Content added
remove html comments from some args; no line if double skip
m minor bug
Line 184:
p.tag = rowNum[r]:tag'td'
if ((r - bumps - 1) / (p.unit * 2)) % 2 == 0 then
RD.t = RD.t2 or ((skipMatch[RD.top + RD.n] and 1 or 0) + (skipMatch[RD.top + RD.n + 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
if c > 1 or RD.t == 0 then
Line 204 ⟶ 205:
:attr{rowspan = maxSpan(p.unit * 4, r + p.unit, rows)}
:css{
['border-width'] = (RD.t % 2 < 1 and 2 or 0) .. 'px 0 ' .. (not skipMatch[RD.top + RD.nt2 +< 2]3 and rowNum[r + p.unit * 5] and '1px' or 0),
['border-style'] = 'solid'
}