Änderungen

Zur Navigation springen Zur Suche springen
14 Bytes hinzugefügt ,  19:33, 5. Mai 2021
keine Bearbeitungszusammenfassung
Zeile 55: Zeile 55:  
     -- teste ob Liste_Basistyp vorhanden ist  
 
     -- teste ob Liste_Basistyp vorhanden ist  
 
     local Vorlage = mw.title.new('Liste_'..Basistyp, 'Vorlage' )
 
     local Vorlage = mw.title.new('Liste_'..Basistyp, 'Vorlage' )
     if Vorlage ~= nil
+
     if Vorlage.exists ~= nil
 
     then
 
     then
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Basistyp}  
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Basistyp}  
Zeile 65: Zeile 65:  
then
 
then
 
     local Vorlage = mw.title.new('Liste_'..Hauptkategorie, 'Vorlage' )
 
     local Vorlage = mw.title.new('Liste_'..Hauptkategorie, 'Vorlage' )
     if Vorlage ~= nil
+
     if Vorlage.exists ~= nil
 
     then
 
     then
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Hauptkategorie}  
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Hauptkategorie}  

Navigationsmenü