Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
try to iterate on the args
en>Guillom
(renderTranslatedTemplate now works for parameterless templates. Investigating to make parameters work)
en>Guillom
(try to iterate on the args)
Line 36: Line 36:


function p.debug(frame)
function p.debug(frame)
     return tostring(frame.args)
     local display = ''
    for i, v in ipairs( frame.args ) do
        display = display..v
    end
    return display
end
end


return p
return p
Anonymous user

Navigation menu