Module:DemoTemplate: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(handle = signs in parameters)
(use string.format at the end)
Line 23:
end
print('}}')
return string.format('<code>' .. mw.text.nowiki(getBuffer()) .. '%s</code> &rarr; %s', mw.text.nowiki(getBuffer()), frame:expandTemplate{title = title, args = frame.args})
end
end