Module:Template test case: Difference between revisions
add a comment
(use a more MediaWiki-like magic word for the template name) |
(add a comment) |
||
Line 171: | Line 171: | ||
local headingRow = root:tag('tr') | local headingRow = root:tag('tr') | ||
if self.options.rowheader then | if self.options.rowheader then | ||
-- rowheader is correct here. We need to add another th cell if | |||
-- rowheader is set further down, even if heading0 is missing. | |||
headingRow:tag('th'):wikitext(self.options.heading0) | headingRow:tag('th'):wikitext(self.options.heading0) | ||
end | end |