Module:Television ratings graph: Difference between revisions

Content deleted Content added
Fix, count n/a values as an actual entry
Caption
Line 188:
:addClass('wikitable')
:css('text-align', 'center')
 
-- Caption
if self.caption then
tableRoot:tag('caption')
:attr('colspan', nColumns)
:css('text-align', 'left')
:css('font-weight', '700')
:wikitext(self.headline or 'Ratings overview')
end
 
-- Create headers rows
local row = rtable:tag('tr')