Alex
Created page with "local p = {}; function p.main(frame) local args = frame:getParent().args local pageName = args[1] return p._main(pageName) end function p._main(pageName) local jsonContent = mw.loadJsonData(pageName) local resultsDiv = mw.html.create( 'div' ) resultsDiv:css({display = 'none'}) resultsDiv:addClass('tilemarker-div') resultsDiv:node(mw.text.jsonEncode(jsonContent)) return resultsDiv; end return p;"