Module:Template translation: Difference between revisions

Content added Content deleted
mNo edit summary
m (override the existing parameter of the base template name supplied with the actual template expanded (allows autodetection of language for autotranslated templates))
Line 143: Line 143:
end
end
end
end
arguments['template'] = title.prefixedText -- override the existing parameter of the base template name supplied with the actual template expanded
return frame:expandTemplate{title = ':' .. title.prefixedText, args = arguments}
return frame:expandTemplate{title = ':' .. title.prefixedText, args = arguments}