Module:Template test case: Difference between revisions

    (In the end they could be merged nicely)
    m (a few comments)
    Line 436: Line 436:
    local dataRow = tableroot:tag('tr')
    local dataRow = tableroot:tag('tr')
    -- Header
    if self.options.showheader then
    if self.options.showheader then
    if self.options.format == 'tablerows' then
    if self.options.format == 'tablerows' then
    Line 454: Line 455:
    end
    end
    -- Template output
    dataRow:tag('td')
    dataRow:tag('td')
    :newline()
    :newline()