Module:Songlist Retrieval
可在Module:Songlist Retrieval/doc创建此模块的帮助文档
local p = {}
function p.retrieval(frame)
local list=require("Module:Songlist")
local i=1
if list['songs'][i]['title_localized']['en'] then
local s=list['songs'][i]['title_localized']['en']
list['songs'][s]=list['songs'][i]
i=i+1
end
local object=tostring(frame.args.object)
local title=tostring(frame.args.title)
if object==ja then
object="title_localized][ja"
end
return tostring(list['songs'][title][object])
end
return p