Changes

Module:Template translation

44 bytes added, 10:20, 24 May 2013
template --> frame[template]
Otherwise, the template is rendered in its default language, without
modification.
This is aimed at replacing the current implementation of Template:TNT.
]]
-- Render the template
return frame:expandTemplate{ title = frame[template]..langcode, args = frame.args }
end
function p.debug (frame)
return frame:expandTemplate{ title = frame[template], args = frame.args }
end
return p
Anonymous user