2,546
次編輯
小 (emm) |
小 (oops) |
||
行 44: | 行 44: | ||
function p.single(frame) | function p.single(frame) | ||
local id = frame.args | local id = slstIdx[frame.args[1]] | ||
local stringify = function(songv) | local stringify = function(songv) | ||
local r = {} | local r = {} | ||
行 52: | 行 52: | ||
--- unlocks song k/v : | --- unlocks song k/v : | ||
for songk, songv in unlocksIt(unlocks) do | for songk, songv in unlocksIt(unlocks) do | ||
if id == songk then return | if id == songk then return frame:expandTemplate { title = "解禁方法", args = { | ||
["PST解禁方法"] = stringify(songv[1]), | ["PST解禁方法"] = stringify(songv[1]), | ||
["PRS解禁方法"] = stringify(songv[2]), | ["PRS解禁方法"] = stringify(songv[2]), |
次編輯