Changes

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