Jump to content

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.