Difference between revisions of "Module:Template translation"

m
hmmm
>Guillom
m (args content)
>Guillom
m (hmmm)
Line 36: Line 36:


function p.debug(frame)
function p.debug(frame)
     return frame:expandTemplate{ title = frame.args['template'], args = frame.args }  
     return frame:expandTemplate{ title = frame.args['template'], args = { 'arg1', 'arg2', 'arg3' } }  
end
 
function p.debug2(frame)
    return frame.args[1]
end
end


return p
return p
Anonymous user