Content deleted Content added
No edit summary |
No edit summary |
||
Line 18:
result = ''
for k1, v1 in ipairs(mw.text.split(somelist, '\n')) do
for k2, v2 in ipairs(mw.text.split(v1 .. '\\', '\\')) do
if
elseif (k2 % 2 == 0) then result = result .. '||' .. v2
if (k1 % 2 == 0) then▼
result = result .. '\n|-style="background:#888"\n!' .. k1 .. '\n|' .. v2 .. '||'▼
else
▲ if (k1 % 2 == 0) then
result = result .. '\n|-\n!' .. k1 .. '\n|' .. v2 .. '||'▼
end
end
|