Hauptmenü öffnen
Start
Zufall
Anmelden
Einstellungen
Über Splitterwiki
Haftungsausschluss
Splitterwiki
Suchen
Änderungen
← Zum vorherigen Versionsunterschied
Zum nächsten Versionsunterschied →
Modul:Autoren
(Quelltext anzeigen)
Version vom 19. Dezember 2021, 19:16 Uhr
152 Bytes hinzugefügt
,
19:16, 19. Dez. 2021
keine Bearbeitungszusammenfassung
Zeile 28:
Zeile 28:
for k,_ in pairs(AuthorList) do
for k,_ in pairs(AuthorList) do
Authors[#Authors+1] = k
Authors[#Authors+1] = k
−
end
+
end
+
-- sort them alphabeticaly
+
AuthorsSorted = {}
+
for n in pairs(Authors) do table.insert(AuthorsSorted, n) end
+
table.sort(AuthorsSorted)
+
-- display
local n = 1
local n = 1
−
while n <= table.getn(
Authors
)
+
while n <= table.getn(
a
)
do
do
ReturnString = ReturnString .. Authors[n] .. "<br>"
ReturnString = ReturnString .. Authors[n] .. "<br>"
Stewie
Bürokraten
,
SMW-Administratoren
,
SMW-Kuratoren
,
Administratoren
,
Widget-Bearbeiter
5.225
Bearbeitungen