Content deleted Content added
save |
save |
||
Line 26:
table.insert(param[#param], v)
return param
end
function teamBox(html)
:wikitext(html)
--if span then
--end
end
Line 78 ⟶ 90:
end
local step = 1
local rows = args.columns *
for k = 1, rows do
newRow(true)
if k % 2 == 1 then
▲ last.cell = last.row:tag('td')
▲ last.cell:attr('colspan', 2)
if (k - 1) % 3 == 0 then
last.cell = last.row:tag('td')
last.cell:wikitext(details[step])
last.cell:attr('rowspan', 2)
else
▲ last.cell
▲ :css('background-color', '#f9f9f9')
▲ :css('border', '1px solid #aaa')
▲ :css('padding', '0 2px')
if (k - 1) % 3 == 1 then
teamBox(scores[step][1])
else
teamBox(scores[step][2])
step = step + 1
end
end
end
end
return output
|