Content deleted Content added
No edit summary |
No edit summary |
||
Line 16:
local somelist = args[1]
local result
result = '
local tmp = mw.text.split(somelist, '\n')
for k1, v1 in pairs(tmp) do
Line 25:
else
if (k1 % 2 == 0) then
result = result .. '|-style="background:#888"\n!' .. k1 .. '\n
else
result = result .. '|-\n!' .. k1 .. '\n|' .. v2
Line 31:
end
end
end
result = '{|class="wikitable"\n' .. result .. '|}'
return result
end
|