Module:Template test case: Difference between revisions

    (Allow custom headings to work in default format, same as in rows or columns format. See Template:Test case/testcases#Default format with custom headings and Template:Test case nowiki/testcases#Default format with custom headings.)
    (Add a "before" parameter, similar to "after" but placed before template output. Only exists in column mode (function TestCase:renderColumns). See Template:Test case/testcases#Columns format with custom headings)
    Line 360: Line 360:
    dataRow:tag('td')
    dataRow:tag('td')
    :newline()
    :newline()
    :wikitext(self.options.before)
    :wikitext(self:getTemplateOutput(obj))
    :wikitext(self:getTemplateOutput(obj))
    :wikitext(self.options.after)
    :wikitext(self.options.after)