Changes
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