Module:Side box: Difference between revisions

    (add more newlines)
    (fix syntax error)
    Line 81: Line 81:
    -- The "above" row
    -- The "above" row
    if data.above then
    if data.above then
    local aboveCell = root:newline()tag('tr'):tag('td')
    local aboveCell = root:newline():tag('tr'):tag('td')
    aboveCell
    aboveCell
    :attr('colspan', data.imageright and 3 or 2)
    :attr('colspan', data.imageright and 3 or 2)