Content deleted Content added
No edit summary |
No edit summary |
||
Line 50:
:attr('scope', 'row')
:css('border-right', '1.4em solid ' .. color(args, year, itemNum))
:wikitext(args[year .. '
if itemNum > 1 then
builder = builder:attr('rowspan', itemNum)
Line 158:
local emptyyear = nil
local skipyear = nil
for year = firstyear, lastyear do
if skipyear == nil or (skipyear ~= nil and year == skipyear+1) then
local yearcheck = row(ret, args, year, emptyyear, lastyear)▼
skipyear = nil
if (emptyyear == nil and yearcheck ~= nil) or (emptyyear ~= nil and yearcheck == nil) then▼
▲ local yearcheck = row(ret, args, year, emptyyear, lastyear)
emptyyear = yearcheck▼
▲ if (emptyyear == nil and yearcheck ~= nil) or (emptyyear ~= nil and yearcheck == nil) then
end▼
▲ emptyyear = yearcheck
▲ end
if args[year
skipyear = tonumber(args[year .. '_to'])
end
end
end
|