Difference between revisions of "Module:Template translation"

m
Undo revision 6105795 by Base (talk)
>Base
m (smth like that actually should be but please fix since i'm lua-0.001)
>Base
m (Undo revision 6105795 by Base (talk))
Line 33: Line 33:
         (added for backward compatibility of Template:TNT)
         (added for backward compatibility of Template:TNT)
         ]]
         ]]
       
     local namespace = 'Template'
     local namespace = 'Template'
    if frame.args['namespace']~=nil then namespace=frame.args[4] end
     local templateFullTitle = mw.title.new(template, namespace)
     local templateFullTitle = mw.title.new(template, namespace)
     if (templateFullTitle.id == 0)
     if (templateFullTitle.id == 0)
Anonymous user