Jump to content

Module:Navbox: Difference between revisions

102 bytes added ,  11 years ago
hmmm, not my smartest moment
m>Dragons flight
(edge cases)
m>Dragons flight
(hmmm, not my smartest moment)
Line 92: Line 92:
         title = mw.title.new( args[1]:sub(2) );
         title = mw.title.new( args[1]:sub(2) );
     else
     else
         title = mw.title.new( 'Template:' .. args[1] );
         title = mw.title.new( args[1] );
        if title.namespace == 0 then
            title = mw.title.new( 'Template:' .. args[1] );
        end       
     end       
     end       
      
      
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.