Module:Sandbox/Sameboat/m1: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 23:
if (k2 % 2 == 0) then
result = result .. '||style="background:#7f7"|' .. v2 .. '\n'
else
if (k1 % 2 == 0) then
result = result .. '|-\n!' .. k1 .. '\n|' .. v1v2 .. '\n'
else
result = result .. '|-\n!style="background:#f77"|' .. k1 .. '\n|' .. v1v2 .. '\n'
end
end
end
if (k1 % 2 == 0) then
result = result .. '|-\n!' .. k1 .. '\n|' .. v1 .. '\n'
else
result = result .. '|-\n!style="background:#f77"|' .. k1 .. '\n|' .. v1 .. '\n'
end
end
result = '{|class="wikitable"\n' .. result .. '|}'