Jump to content

Module:Aligned table: Difference between revisions

typo
(evenodd row classes)
(typo)
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
elseif args['rowevenclass'] and math.fmod(j,2) == 0 then
cell:addClass(args['rowevenclass'])
cell:addClass(args['rowevenclass'])
elseif args['rowoddclass'] and math.fmod(i,2) == 1 then
elseif args['rowoddclass'] and math.fmod(j,2) == 1 then
cell:addClass(args['rowoddclass'])
cell:addClass(args['rowoddclass'])
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.