• 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
no edit summary
Line 106: Line 106:  
     return format{templates.table_header, map_id = map_id} .. table.concat(rows, "\n") .. templates.table_footer
 
     return format{templates.table_header, map_id = map_id} .. table.concat(rows, "\n") .. templates.table_footer
 
end
 
end
  −
local MapNodesTable = {}
   
   
 
   
function MapNodesTable.format(frame, args_)
+
function templates.format(frame, args_)
 
     local args = args_ or getArgs{frame = frame:getParent()}
 
     local args = args_ or getArgs{frame = frame:getParent()}
 
     local map_id = args[1]
 
     local map_id = args[1]
Line 116: Line 114:  
end
 
end
   −
MapNodesTable.t = MapNodesTable.format(nil, { "6-5" })
+
--MapNodesTable.t = MapNodesTable.format(nil, { "6-5" })
 
-- print(p.t)
 
-- print(p.t)
   −
return MapNodesTable
+
return templates
Anonymous user

Navigation menu