2,513
edits
No edit summary |
m (16 revisions imported) |
||
(16 intermediate revisions by 11 users not shown) | |||
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 270 ⟶ 271:
end
end
then
return ''
end
return frame:expandTemplate{title = 'Template:' .. pargs[1], args = arguments}
end
|