Module:Progression rainbow: Difference between revisions

Content deleted Content added
make those tables
try this
Line 71:
if classes[i][1] ~= 0 then
root:tag('td')
:css('background', main_frame:expandTemplate{
title = 'class/colour', args = { classes[i][2] }})
{'background',
:css('width', width_classes(classes[i][1], divisor)})
main_frame:expandTemplate{
title = 'class/colour', args = { classes[i][2] }
}},
{'width',
width_classes(classes[i][1], divisor)}
})
:done()
end