Module:Sandbox/Sameboat/m1: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 22:
for k2, v2 in pairs(tmp2) do
if (k2 % 2 == 0) then
result = result .. '|style="background:#7f7"|' .. v2 .. '\n'
else
if (k1 % 2 == 0) then
result = result .. '|-\n!' .. k1 .. '\n|style="background:#f77"|' .. v2 .. '\n'
else
result = result .. '|-\n!style="background:#f77"|' .. k1 .. '\n|' .. v2 .. '\n'
end
end