Jump to content

Module:Aligned table: Difference between revisions

no edit summary
(tidy minor spacing/tabs;)
No edit summary
Line 43: Line 43:
colclass[ i ] = colclass[ i ] or ''
colclass[ i ] = colclass[ i ] or ''
colstyle[ i ] = colstyle[ i ] or ''
colstyle[ i ] = colstyle[ i ] or ''
if isnotempty(args['colstyle']) then
colstyle[ i ] = args['colstyle'] .. ';'
end
if isnotempty(args['colalign' .. tostring(i)]) then
if isnotempty(args['colalign' .. tostring(i)]) then
colstyle[ i ] = 'text-align:' .. args['colalign' .. tostring(i)] .. ';' .. colstyle[ i ]
colstyle[ i ] = 'text-align:' .. args['colalign' .. tostring(i)] .. ';' .. colstyle[ i ]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.