Module:Timeline of release years/sandbox: Difference between revisions

Content deleted Content added
Remove compression color, obey existing range colors.
Switch to ndash per MOS:DASH
Line 104:
builder = builder:tag('tr')
if year == 'TBA' then
left(builder, args, emptyyear .. ' ~ ' .. lastyear, 0)
right(builder, args, emptyyear .. ' ~ ' .. lastyear, 0, {})
elseif year ~= emptyyear then
if year-1 == emptyyear then
Line 111:
right(builder, args, emptyyear, 0, {})
else
left(builder, args, emptyyear .. ' ~ ' .. (year-1), 0)
right(builder, args, emptyyear .. ' ~ ' .. (year-1), 0, {})
end
end