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

Content deleted Content added
Cleanup, shrink up, handle TBA
Return silver for compressed ranges by default, allow specification though.
Line 17:
 
local function color(args, year, itemNum)
if string.find(year, "~") then
if args['compress_color'] then
return args['compress_color']
else
return '#C0C0C0'
end
end
 
if args[year .. '_color'] then