Modul:Spiel-Info: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 26: | Zeile 26: | ||
if date ~= "" or stadium ~= "" or result ~= "" then | if date ~= "" or stadium ~= "" or result ~= "" then | ||
box | box | ||
:tag("tr") | :tag("tr") | ||
| Zeile 38: | Zeile 37: | ||
if date ~= "" then | if date ~= "" then | ||
box | box | ||
| Zeile 51: | Zeile 49: | ||
end | end | ||
if stadium ~= "" then | if stadium ~= "" then | ||
box | box | ||
| Zeile 65: | Zeile 61: | ||
end | end | ||
if result ~= "" then | if result ~= "" then | ||
box | box | ||
| Zeile 134: | Zeile 128: | ||
end | end | ||
for _, field in ipairs(fields) do | |||
local parameter = field[1] | |||
local label = field[2] | |||
local value = args[parameter] | |||
addRow(box, label, value) | |||
end | |||
-- Spiele | -- Spiele | ||
| Zeile 164: | Zeile 167: | ||
result_first_leg | result_first_leg | ||
) | ) | ||
end | end | ||