Module:Template test case: Difference between revisions

Jump to navigation Jump to search
fix for missing before or after parameters
(if using before or after parameters (only available in column mode), include those in the nowiki output)
(fix for missing before or after parameters)
Line 412:
:wikitext(self.options.after)
:wikitext('<pre style="white-space: pre-wrap;">')
:wikitext(mw.text.nowiki(self.options.before or ""))
:wikitext(mw.text.nowiki(self:getTemplateOutput(obj)))
:wikitext(mw.text.nowiki(self.options.after or ""))
:wikitext('</pre>')
elseif self.options.output == 'nowiki' then
dataRow:tag('td')
:newline()
:wikitext(mw.text.nowiki(self.options.before or ""))
:wikitext(mw.text.nowiki(self:getTemplateOutput(obj)))
:wikitext(mw.text.nowiki(self.options.after or ""))
else
dataRow:tag('td')
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu