Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
try to iterate on the args
>Guillom
(renderTranslatedTemplate now works for parameterless templates. Investigating to make parameters work)
>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