Module:Aligned table: Difference between revisions

    (even/odd rowstyles)
    (Implementing talk page edit requested)
    Line 39: Line 39:
    colstyle[1] = 'text-align:left;'
    colstyle[1] = 'text-align:left;'
    colstyle[2] = 'text-align:right;'
    colstyle[2] = 'text-align:right;'
    end
    if isnotempty(args['rightleft']) then
    colstyle[1] = 'text-align:right;'
    colstyle[2] = 'text-align:left;'
    end
    end
    for i = 1,cols do
    for i = 1,cols do