2,851
edits
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
-- Column headers: Biomarker and System | -- Column headers: Biomarker and System | ||
wikitable = wikitable .. ' System !! Biomarker' | wikitable = wikitable .. ' System !! Biomarker !! Count ' | ||
for _, study in pairs(studies) do | for _, study in pairs(studies) do | ||
wikitable = wikitable .. ' !! ' .. p.template(frame, "pmid", study.pmid) | wikitable = wikitable .. ' !! ' .. p.template(frame, "pmid", study.pmid) | ||
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 .. '! ' .. row.name .. ' !! ' .. '' | ||
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) | ||
end | end | ||
wikitable = wikitable .. '\n' | wikitable = wikitable .. '\n' |