Hauptmenü öffnen
Start
Zufall
Anmelden
Einstellungen
Über Splitterwiki
Haftungsausschluss
Splitterwiki
Suchen
Änderungen
← Zum vorherigen Versionsunterschied
Zum nächsten Versionsunterschied →
Modul:ListenAuswahl
(Quelltext anzeigen)
Version vom 5. Mai 2021, 19:33 Uhr
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}
Stewie
Bürokraten
,
SMW-Administratoren
,
SMW-Kuratoren
,
Administratoren
,
Widget-Bearbeiter
5.225
Bearbeitungen