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

Content deleted Content added
right() returns nothing when itemNum is 0 anyway
Remove temp option
Line 99:
builder = builder:tag('tr')
if year == 'TBA' then
if args.temparg then
left(builder, args, emptyyear .. '<br/>–<br/>' .. lastyear, 0)
else
left(builder, args, emptyyear .. '–' .. lastyear, 0)
end
else
if year-1 == emptyyear then
left(builder, args, emptyyear, 0)
else
if args.temparg then
left(builder, args, emptyyear .. '<br/>–<br/>' .. (year-1), 0)
else
left(builder, args, emptyyear .. '–' .. (year-1), 0)
end
end
end