- 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 106:
Line 106:
−
− local MapNodesTable = {}
− +
Line 116:
Line 114:
− +
− +
no edit summary
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
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]
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