918
个编辑
Economy666(讨论 | 贡献) (byd显示) |
Economy666(讨论 | 贡献) (双平台曲包) |
||
第67行: | 第67行: | ||
local different_id = {['edenwacca']='eden'} | local different_id = {['edenwacca']='eden'} | ||
local discrete_pack = {['Arcaea']='曲包', ['Memory Archive']=''} | |||
local multi_song={} | local multi_song={} | ||
第122行: | 第123行: | ||
data:insert(id) | data:insert(id) | ||
-- otherTitles | -- 标题与副标题 otherTitles | ||
data:insert(input '标题' or table.concat({'[[' .. mad.linkTitle(song) .. ']]', unpack(otherTitles(song))}, '<br>')) | data:insert(input '标题' or table.concat({'[[' .. mad.linkTitle(song) .. ']]', unpack(otherTitles(song))}, '<br>')) | ||
--曲师 | -- 曲师 | ||
local artist = '' | local artist = '' | ||
local artist_list = cal[string.gsub(song.artist, ' ' , '')] | local artist_list = cal[string.gsub(song.artist, ' ' , '')] | ||
第155行: | 第156行: | ||
local pack_nd = string.gsub(pack_ns, ccl, ccd) | local pack_nd = string.gsub(pack_ns, ccl, ccd) | ||
if pack_ns == pack_main then | if pack_ns == pack_main then | ||
pack = link(pack_main, pack_md) | if discrete_pack[pack_main] then | ||
local pack_ml = pack_main .. (' (移动版%s)'):format(discrete_pack[pack_main]) | |||
local pack_nl = pack_ns .. (' (NS版%s)'):format(discrete_pack[pack_main]) | |||
pack_md = pack_md .. '<br /><small>(移动版)</small>' | |||
pack_nd = '<small>(NS版)</small>' | |||
pack = link(pack_ml, pack_md) .. onlyMobile .. '<br \>' ..link(pack_nl, pack_nd) .. onlyNS | |||
else | |||
pack = link(pack_main, pack_md) | |||
end | |||
else | else | ||
pack = link(pack_main, pack_md) .. onlyMobile .. '<br \>' ..link(pack_ns, pack_nd) .. onlyNS | pack = link(pack_main, pack_md) .. onlyMobile .. '<br \>--<br \>' ..link(pack_ns, pack_nd) .. onlyNS | ||
end | end | ||
elseif mobile_id[id] then | elseif mobile_id[id] then |
个编辑