Module:Aligned table: Difference between revisions

Undid revision 617860748 by Frietjes (talk)
No edit summary
(Undid revision 617860748 by Frietjes (talk))
Line 120: Line 120:
elseif colclass[i] ~= '' then
elseif colclass[i] ~= '' then
cell:addClass(colclass[i])
cell:addClass(colclass[i])
end
if isnotempty(colstyle[i]) then
cell:cssText(colstyle[i])
end
end
if args['style' .. tostring(j) .. '.' .. tostring(i)] then
if args['style' .. tostring(j) .. '.' .. tostring(i)] then
cell:cssText(args['style' .. tostring(j) .. '.' .. tostring(i)])
cell:cssText(args['style' .. tostring(j) .. '.' .. tostring(i)])
end
elseif args['rowstyle' .. tostring(j)] then
if args['rowstyle' .. tostring(j)] then
cell:cssText(args['rowstyle' .. tostring(j)])
cell:cssText(args['rowstyle' .. tostring(j)])
elseif args['row' .. tostring(j) .. 'style'] then
elseif args['row' .. tostring(j) .. 'style'] then
cell:cssText(args['row' .. tostring(j) .. 'style'])
cell:cssText(args['row' .. tostring(j) .. 'style'])
elseif colstyle[i] ~= '' then
cell:cssText(colstyle[i])
end
end
cell:wikitext(args[cols*(j - 1) + i] or '')
cell:wikitext(args[cols*(j - 1) + i] or '')
Anonymous user