Module:Template translation: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 253:
TemplateSandbox; mocking it with this method means templates won't be
localized but at least TemplateSandbox substitutions will work properly.
Won't work with complex uses.
]]
function this.mockTNT(frame)
Line 274 ⟶ 275:
return ''
end
return frame:expandTemplate{title = 'Template:' .. pargs[1], args = arguments}
end