2,851
edits
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
for i, row in ipairs(rows) do | for i, row in ipairs(rows) do | ||
wikitable = wikitable .. '|-\n' | wikitable = wikitable .. '|-\n' | ||
wikitable = wikitable .. ' | wikitable = wikitable .. '| colspan="2" | ' .. row.name .. '\n' | ||
for _, study in ipairs(studies) do | for _, study in ipairs(studies) do | ||
local cellValue = study[row.key] or "" | local cellValue = study[row.key] or "" | ||
wikitable = wikitable .. ' | wikitable = wikitable .. '| ' .. p.template(frame, "VerticalText", cellValue) .. '\n' | ||
end | end | ||
end | end |