Difference between revisions of "Module:TNT"
Jump to navigation
Jump to search
no edit summary
en>Yurik (added translation link at the bottom of the doc) |
en>Yurik |
||
Line 60: | Line 60: | ||
function p.doc(frame) | function p.doc(frame) | ||
dataset = normalizeDataset(frame.args[1]) | dataset = 'templatedata/' .. normalizeDataset(frame.args[1]) | ||
local data = loadData( | local data = loadData(dataset) | ||
local names = {} | local names = {} | ||
for _, field in pairs(data.schema.fields) do | for _, field in pairs(data.schema.fields) do |