Module:For loop/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 37:
targs[variableParam] = variableValPrefix .. v .. variableValPostfix
if calltemplates then
result = result .. p.callTemplate(template, targs)
local output = p.callTemplate(template, targs)
if #mw.text.trim(output) == 0 then
addSeparator = false
end
result = result .. p.callTemplate(template, targs)output
else
result = result .. makeTemplate(template, targs)