Modul:Navbar: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 57: Zeile 57:
     local editurl = title:fullUrl( 'action=edit' );  
     local editurl = title:fullUrl( 'action=edit' );  
   
   
     local viewLink, talkLink, editLink = 'view', 'talk', 'edit'
     local viewLink, talkLink, editLink = 'ansehen', 'diskutieren', 'bearbeiten'
     if args.mini then
     if args.mini then
         viewLink, talkLink, editLink = 'v', 't', 'e'
         viewLink, talkLink, editLink = 'a', 'd', 'b'
     end
     end
   
   
Zeile 97: Zeile 97:
             .wikitext( '[[' .. mainpage .. '|' )
             .wikitext( '[[' .. mainpage .. '|' )
             .tag( 'span ' )
             .tag( 'span ' )
                 .attr( 'title', 'View this template' )
                 .attr( 'title', 'Ansehen' )
                 .cssText( args.fontstyle or '' )
                 .cssText( args.fontstyle or '' )
                 .wikitext( viewLink )
                 .wikitext( viewLink )
Zeile 107: Zeile 107:
             .wikitext( '[[' .. talkpage .. '|' )
             .wikitext( '[[' .. talkpage .. '|' )
             .tag( 'span ' )
             .tag( 'span ' )
                 .attr( 'title', 'Discuss this template' )
                 .attr( 'title', 'Diskutieren' )
                 .cssText( args.fontstyle or '' )
                 .cssText( args.fontstyle or '' )
                 .wikitext( talkLink )
                 .wikitext( talkLink )
Zeile 119: Zeile 119:
                 .wikitext( '[' .. editurl .. ' ' )
                 .wikitext( '[' .. editurl .. ' ' )
                 .tag( 'span ' )
                 .tag( 'span ' )
                     .attr( 'title', 'Edit this template' )
                     .attr( 'title', 'Bearbeiten' )
                     .cssText( args.fontstyle or '' )
                     .cssText( args.fontstyle or '' )
                     .wikitext( editLink )
                     .wikitext( editLink )
Anonymer Benutzer