Changes

no edit summary
Line 109: Line 109:  
function templates.format(frame)
 
function templates.format(frame)
 
     --local args = {frame} or getArgs{frame = frame:getParent()}
 
     --local args = {frame} or getArgs{frame = frame:getParent()}
     local map_id = frame.args[1]
+
     local map_id = frame
 
     local map_nodes = require(string.format('Module:Map %s/Nodes', map_id))
 
     local map_nodes = require(string.format('Module:Map %s/Nodes', map_id))
 
     return formatTable(map_id, map_nodes)
 
     return formatTable(map_id, map_nodes)
Anonymous user