Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:View/Expedition
(view source)
Revision as of 14:41, 18 July 2019
12 bytes added
,
5 years ago
m
no edit summary
Line 36:
Line 36:
local function render(args)
local function render(args)
−
local es = U.ifilter(data, function(e) return e.maparea_id == args.explicit.world end)
+
local es = U.ifilter(data, function(e) return e.maparea_id ==
tonumber(
args.explicit.world
)
end)
return U.joinLines(U.imap(es, function(e)
return U.joinLines(U.imap(es, function(e)
return U.format{
return U.format{
Line 56:
Line 56:
end
end
−
local test = { explicit = { world = 7 } }
+
local test = { explicit = { world =
'
7
'
} }
-- print(p.test())
-- print(p.test())
return view(render, test)
return view(render, test)
がか
cssedit, gkautomate
7,064
edits