901
次編輯
Economy666(留言 | 貢獻) |
Economy666(留言 | 貢獻) 小無編輯摘要 |
||
行 37: | 行 37: | ||
local sectionCode = {unknown = 0, free = 1, archive = 2, mainstory = 3, sidestory = 4, collab = 5, single = 6} | local sectionCode = {unknown = 0, free = 1, archive = 2, mainstory = 3, sidestory = 4, collab = 5, single = 6} | ||
local function main( | local function main(args, durArgs) | ||
local view = {} | local view = {} | ||
local plat = 'mobile' | |||
-- 不对song下述提及的字段存在性做检验 | -- 不对song下述提及的字段存在性做检验 | ||
for _, song in ipairs(mad.listOf('songs', plat)) do | for _, song in ipairs(mad.listOf('songs', plat)) do | ||
行 89: | 行 90: | ||
end | end | ||
function p. | function p.multi(frame) | ||
for record in mw.text.gsplit(frame.args._ver_, '%s') do | for record in mw.text.gsplit(frame.args._ver_, '%s') do | ||
local date, name = record:match '(%d+):(.*)' | local date, name = record:match '(%d+):(.*)' | ||
行 95: | 行 96: | ||
table.insert(versionNames, name) | table.insert(versionNames, name) | ||
end | end | ||
return main( | return main(frame:getParent().args, frame.args) | ||
end | end | ||
return p | return p |
次編輯