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, 18:08 Uhr
121 Bytes hinzugefügt
,
18:08, 5. Mai 2021
keine Bearbeitungszusammenfassung
Zeile 21:
Zeile 21:
if queryResult == nil then return nil end
if queryResult == nil then return nil end
local Seitentyp = queryResult[1]['Seitentyp']
local Seitentyp = queryResult[1]['Seitentyp']
+
returnString = Seitentyp
local Basistyp = nil
local Basistyp = nil
Zeile 27:
Zeile 28:
Basistyp = queryResult[1]['Basistyp']
Basistyp = queryResult[1]['Basistyp']
Basistyp = string.gsub(Basistyp, "%s+", "_")
Basistyp = string.gsub(Basistyp, "%s+", "_")
+
returnString = returnString .. Basistyp
end
end
Zeile 34:
Zeile 36:
Hauptkategorie = queryResult[1]['Hauptkategorie']
Hauptkategorie = queryResult[1]['Hauptkategorie']
Hauptkategorie = string.gsub(Hauptkategorie, "%s+", "_")
Hauptkategorie = string.gsub(Hauptkategorie, "%s+", "_")
+
returnString = returnString .. Hauptkategorie
+
end
end
--teste ob Seitentyp Kategorie
--teste ob Seitentyp Kategorie
Stewie
Bürokraten
,
SMW-Administratoren
,
SMW-Kuratoren
,
Administratoren
,
Widget-Bearbeiter
5.239
Bearbeitungen