Module:Aligned table: Difference between revisions
Undid revision 617860748 by Frietjes (talk)
No edit summary |
|||
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)]) | ||
elseif 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']) | ||
end | end | ||
cell:wikitext(args[cols*(j - 1) + i] or '') | cell:wikitext(args[cols*(j - 1) + i] or '') |