Module:Template translation: Difference between revisions
Content added Content deleted
m (override the existing parameter of the base template name supplied with the actual template expanded (allows autodetection of language for autotranslated templates)) |
mNo edit summary |
||
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 |
arguments['template'] = title.prefixedText -- override the existing parameter of the base template name supplied with the full name of the actual template expanded |
||
arguments['namespace'] = nil -- discard the specified namespace override |
|||
return frame:expandTemplate{title = ':' .. title.prefixedText, args = arguments} |
return frame:expandTemplate{title = ':' .. title.prefixedText, args = arguments} |