Module:Aligned table: Difference between revisions

    No edit summary
    (rowstyle and rowclass)
    Line 52: Line 52:
    if args['class' .. tostring(j) .. '.' .. tostring(i)] then
    if args['class' .. tostring(j) .. '.' .. tostring(i)] then
    tdstyle = tdstyle .. ' class="' .. args['class' .. tostring(j) .. '.' .. tostring(i)] .. '"'
    tdstyle = tdstyle .. ' class="' .. args['class' .. tostring(j) .. '.' .. tostring(i)] .. '"'
    elseif args['rowclass' .. tostring(j)] then
    tdstyle = tdstyle .. ' class="' .. args['rowclass' .. tostring(j)] .. '"'
    elseif colclass[i] ~= '' then
    elseif colclass[i] ~= '' then
    tdstyle = tdstyle .. ' class="' .. colclass[i] .. '"'
    tdstyle = tdstyle .. ' class="' .. colclass[i] .. '"'
    Line 57: Line 59:
    if args['style' .. tostring(j) .. '.' .. tostring(i)] then
    if args['style' .. tostring(j) .. '.' .. tostring(i)] then
    tdstyle = tdstyle .. ' style="' .. args['style' .. tostring(j) .. '.' .. tostring(i)] .. '"'
    tdstyle = tdstyle .. ' style="' .. args['style' .. tostring(j) .. '.' .. tostring(i)] .. '"'
    elseif args['rowstyle' .. tostring(j)] then
    tdstyle = tdstyle .. ' style="' .. args['rowstyle' .. tostring(j)] .. '"'
    elseif colstyle[i] ~= '' then
    elseif colstyle[i] ~= '' then
    tdstyle = tdstyle .. ' style="' .. colstyle[i] .. '"'
    tdstyle = tdstyle .. ' style="' .. colstyle[i] .. '"'