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 16:02, 18 July 2019
14 bytes added
,
5 years ago
m
no edit summary
Line 143:
Line 143:
Requirements = ${requirements}]=]
Requirements = ${requirements}]=]
−
local function render(
args,
frame)
+
local function render(frame)
−
local
frame
= frame
:getParent(
)
+
local
args
=
U.getTemplateArgs(
frame)
local world = tonumber(args.explicit.world)
local world = tonumber(args.explicit.world)
Line 176:
Line 176:
end)) .. "\n|}"
end)) .. "\n|}"
−
return
not frame and total or
frame:callParserFunction('#tag:tabber', U.format{
+
return frame:callParserFunction('#tag:tabber', U.format{
tabberTemplate,
tabberTemplate,
total = total,
total = total,
Line 184:
Line 184:
end
end
−
local test = { explicit = { world = '7' } }
+
return {
+
render = render,
+
}
+
+
--
local test = { explicit = { world = '7' } }
-- print(p.test())
-- print(p.test())
−
return view(render, test)
+
--
return view(render, test)
がか
cssedit, gkautomate
7,064
edits