Changes

Jump to: navigation, search

Module:Template translation

127 bytes added, 11:57, 24 May 2013
test: Copy args table so we can feed it to expandTemplate
function p.debug(frame)
-- Copy args table so we can feed it to expandTemplate local args = {} for k, v in pairs( frame.args ) do args[k] = v end return frame:expandTemplate{ title = frame.args['template'], args = { 'arg1', 'arg2', 'arg3' } }
end
return p
Anonymous user

Navigation menu