- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 109:
Line 109:
− +
+
no edit summary
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 = {frame}
local map_id = args[1]
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)