Module:Tree chart/data explained

local SLD = '1px solid'local DSH = '1px dashed'local DOT = '1px dotted'

local data =

local retval =

for k,v in pairs(data) do retval[k] = for k2,v2 in pairs(v) do local renderedCells = mw.html.create for k3,v3 in ipairs(v2) do renderedCells:tag('td'):css(v3.style or):attr(v3.attr or) end retval[k][k2] = tostring(renderedCells) endend

return retval