Module:ColPollTable: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 39:
end
max_week = i
end
local max_sub_week = 0
-- get the highest subweek to look at
-- Week1-Y should suffice, assuming all parameters require definition
for i=1,50 do
if not args['Week1-'..i] then
break
end
max_sub_week = i
end
Line 57 ⟶ 67:
week_tbl.cells = {}
 
for j=1,25max_sub_week do
local wkdt = string.format('Week%s-%s',i,j)
local wkcolor = string.format('Week%s-%s-Color',i,j)