Jump to content

Module:Aligned table: Difference between revisions

evenodd row classes
(will work on this later)
(evenodd row classes)
Line 130: Line 130:
elseif args['row' .. tostring(j) .. 'class'] then
elseif args['row' .. tostring(j) .. 'class'] then
cell:addClass(args['row' .. tostring(j) .. 'class'])
cell:addClass(args['row' .. tostring(j) .. 'class'])
elseif args['rowevenclass'] and math.fmod(i,2) == 0 then
cell:addClass(args['rowevenclass'])
elseif args['rowoddclass'] and math.fmod(i,2) == 1 then
cell:addClass(args['rowoddclass'])
end
end
if colclass[i] ~= '' then
if colclass[i] ~= '' then
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.