Module:BiologicalAgeBiomarkers: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:


     -- Column headers: Biomarker and System
     -- Column headers: Biomarker and System
     wikitable = wikitable .. '! System !! Biomarker !! Count '
     wikitable = wikitable .. '! colspan="2" | Sort !! '
     for _, study in pairs(studies) do
     for _, study in pairs(studies) do
         wikitable = wikitable .. ' !! ' .. p.template(frame, "pmid", study.pmid)
         wikitable = wikitable .. ' !! '
end
end
wikitable = wikitable .. '\n'
wikitable = wikitable .. '\n'
Line 30: Line 30:
         end
         end
end
end
    -- Column headers: Biomarker and System
    wikitable = wikitable .. '|-\n'
    wikitable = wikitable .. '! System !! Biomarker !! Count '
    for _, study in pairs(studies) do
        wikitable = wikitable .. ' !! ' .. p.template(frame, "pmid", study.pmid)
end
wikitable = wikitable .. '\n'


     -- Generate rows for each biomarker
     -- Generate rows for each biomarker