Difference between revisions of "Module:TNT"
no edit summary
>Yurik (added translation link at the bottom of the doc) |
>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 |