Änderungen

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.exists ~= nil
+
     if Vorlage.exists == true
 
     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.exists ~= nil
+
     if Vorlage.exists == true
 
     then
 
     then
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Hauptkategorie}  
 
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Hauptkategorie}