Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
m
no edit summary
en>Verdy p
m (override the existing parameter of the base template name supplied with the actual template expanded (allows autodetection of language for autotranslated templates))
en>Verdy p
m
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}
Anonymous user

Navigation menu