Änderungen

Zur Navigation springen Zur Suche springen
164 Bytes hinzugefügt ,  18:26, 5. Mai 2021
keine Bearbeitungszusammenfassung
Zeile 38: Zeile 38:  
     if Basistyp ~= nil  
 
     if Basistyp ~= nil  
 
     then
 
     then
     returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Basistyp}  
+
    -- teste ob Liste_Pagename vorhanden ist
    return returnString
+
    local Vorlage = mw.title.new('Liste_'..Basistyp, 'Vorlage' )
 +
    if Vorlage.exists
 +
     then
 +
    returnString = mw.getCurrentFrame():expandTemplate{title ="Liste_"..Basistyp}  
 +
    return returnString
 +
    end
 
     end
 
     end
 
     return returnString
 
     return returnString

Navigationsmenü