Jump to content

Module:BiologicalAgeBiomarkers: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 40: Line 40:
            -- Retrieve data value for the current cell, using the nested structure
            -- Retrieve data value for the current cell, using the nested structure
            local cellValue = study.biomarkers[bm.key] or ""
            local cellValue = study.biomarkers[bm.key] or ""
            wikitable = wikitable .. ' || ' .. cellValue
        if cellValue == "x" then
        cellValue = 'style="background-color:gray;" | '
        elseif cellValue ~= "" then
        cellValue = 'style="background-color:gray;" | ' .. cellValue
            end
            wikitable = wikitable .. ' || ' .. cellValue
        end
        end
wikitable = wikitable .. '\n'
wikitable = wikitable .. '\n'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.