Änderungen
Zur Navigation springen
Zur Suche springen
← Zum vorherigen Versionsunterschied
Zum nächsten Versionsunterschied →
Modul:ListeBasistyp
(Quelltext anzeigen)
Version vom 22. November 2020, 17:05 Uhr
276 Bytes hinzugefügt
,
17:05, 22. Nov. 2020
keine Bearbeitungszusammenfassung
Zeile 40:
Zeile 40:
if basistypArtikelinfo[1]['GehörtZu'] ~= nil
if basistypArtikelinfo[1]['GehörtZu'] ~= nil
then
then
−
--loop über die GehörtZu angaben
+
--
Wenn table
loop über die GehörtZu angaben
−
n = 1
+
if (type(basistypArtikelinfo[1]['GehörtZu']) == "table")
−
while n <= table.getn(basistypArtikelinfo[1]['GehörtZu'])
+
then
−
do
+
n = 1
−
returnString = returnString .. '[[' .. basistypArtikelinfo[1]['GehörtZu'][n] ..']]'
+
while n <= table.getn(basistypArtikelinfo[1]['GehörtZu'])
−
n = n + 1
+
do
−
end
+
returnString = returnString .. '[[' .. basistypArtikelinfo[1]['GehörtZu'][n] ..']]'
+
n = n + 1
+
end
+
else -- nur ein GehoertZu und damit keine tabelle sondern ein string
+
returnString = returnString .. '[[' .. basistypArtikelinfo[1]['GehörtZu'] ..']]'
+
end
end
end
returnString = returnString .. '</td>'
returnString = returnString .. '</td>'
Stewie
Bürokraten
,
SMW-Administratoren
,
SMW-Kuratoren
,
Administratoren
,
Widget-Bearbeiter
5.225
Bearbeitungen
Navigationsmenü
Meine Werkzeuge
Benutzerkonto erstellen
Anmelden
Namensräume
Modul
Diskussion
Varianten
Ansichten
Lesen
Quelltext anzeigen
Versionsgeschichte
Mehr
Suche
Navigation
START
▪ Die Welt
▪ Die Regeln
▪ Das Spiel
▪ Das Wiki
Artikel anlegen
Zufällige Seite
Letzte Änderungen
Semantische Angaben zeigen
Werkzeuge
Spezialseiten
Druckversion