Output the biological age biomarkers table.
Data is stored in Module:BiologicalAgeBiomarkers/Data
local p = {}
p.createTable = function(frame)
local numRows = 10
local numCols = 10
local wikitable = '{| class="wikitable"\n'
-- Kopfzeile
wikitable = wikitable .. '! '
for col = 1, numCols do
wikitable = wikitable .. ' !! ' .. col
end
wikitable = wikitable .. '\n'
-- Zeilen und Spalten
for row = 1, numRows do
wikitable = wikitable .. '|-\n'
wikitable = wikitable .. '| ' .. row
for col = 1, numCols do
wikitable = wikitable .. ' || ' .. row * col
end
wikitable = wikitable .. '\n'
end
-- Tabelle schließen
wikitable = wikitable .. '|}'
return wikitable
end
return p