Module:Television ratings graph: Difference between revisions

Content deleted Content added
Formats
oops typo
 
(3 intermediate revisions by 2 users not shown)
Line 125:
rgbG = tonumber("0x"..hex:sub(3,4))/256
rgbB = tonumber("0x"..hex:sub(5,6))/256
local legend = season_title.."_"..(args["legend" .. season] and args["legend" .. season] or season )
timeline = timeline .. "\n id:season"..season.." value:rgb("..rgbR..", "..rgbG..", "..rgbB..") legend:"..season_title..legend:gsub(" ", "_"..season).."\n"
end
timeline = timeline .. "\n id:bars value:gray(0.95)"
Line 279 ⟶ 280:
row:tag('th')
:css('background-color', args['color' .. season])
:css('width','10px14px')
:css('padding','0')
row:tag('th')