19.842
Bearbeitungen
K (HeikoBot verschob die Seite Modul:Tabelle/Work nach Modul:HTML/Work, ohne dabei eine Weiterleitung anzulegen) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
function p.TableHeader(frame) | function p.TableHeader(frame) | ||
-- mw.log(" | -- mw.log("TableHeader(frame)") | ||
-- mw.logObject(frame.args, "frame.args") | -- mw.logObject(frame.args, "frame.args") | ||
local t = | local t = | ||
| Zeile 16: | Zeile 16: | ||
function p.TableLine(frame) | function p.TableLine(frame) | ||
-- mw.log(" | return p.tableLine(frame.args) | ||
-- mw.logObject( | end | ||
function p.tableLine(line) | |||
-- mw.log("tableLine(line)") | |||
-- mw.logObject(line, "line") | |||
local t = "<tr>\n" | local t = "<tr>\n" | ||
for _, a in ipairs( | for _, a in ipairs(line) do | ||
t = t .. " <td>" .. a .. "</td>\n" | t = t .. " <td>" .. a .. "</td>\n" | ||
end | end | ||