Module:Episode table: Difference between revisions

Content deleted Content added
Matching default colour of table headers
Tag: Reverted
Undid revision 986664291 by Alex 21 (talk) Temporary restore.
Line 26:
-- Cell
cell:attr('scope','col')
:css('background',background or '#EAECF0CCCCFF')
:css('width',cell_width)
:wikitext(text)
Line 39:
 
function EpisodeTable.reference(reference, background)
local link1_cr = contrast_ratio{'#0645AD', background or '#EAECF0CCCCFF', ['error'] = 0}
local link2_cr = contrast_ratio{'#0B0080', background or '#EAECF0CCCCFF', ['error'] = 0}
local refspan = mw.html.create('span')