Module:Template test case: Difference between revisions

For inline format, contents of "addline" will be displayed next to an additional bullet at the end of the list. Tested in /sandbox, see Module:Template test case/testcases and Template:Test case/testcases#Inline format with _addline.
(Allow showcaption=no, similar to showheader=no, but only hides caption. Tested in Module:Template test case/sandbox, see Module:Template test case/testcases and Template:Test case/testcases#Columns format with showcaption=no.)
(For inline format, contents of "addline" will be displayed next to an additional bullet at the end of the list. Tested in /sandbox, see Module:Template test case/testcases and Template:Test case/testcases#Inline format with _addline.)
Line 461:
end
line[#line + 1] = self:getTemplateOutput(obj)
ret[#ret + 1] = table.concat(line)
end
if self.options.addline then
local line = {}
line[#line + 1] = '* '
line[#line + 1] = self.options.addline
ret[#ret + 1] = table.concat(line)
end
Anonymous user