Module:TNT: Difference between revisions

Content added Content deleted
(added translation link at the bottom of the doc)
No edit summary
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('templatedata/' .. dataset)
local data = loadData(dataset)
local names = {}
local names = {}
for _, field in pairs(data.schema.fields) do
for _, field in pairs(data.schema.fields) do