Module:沙盒/Economy666/SongCollectionMulti:修订间差异

无编辑摘要
无编辑摘要
无编辑摘要
第108行: 第108行:
local onlyMobile = frame:expandTemplate{title = '仅', args = {'移动版', '', '图片角标'}}
local onlyMobile = frame:expandTemplate{title = '仅', args = {'移动版', '', '图片角标'}}
local onlyNS = frame:expandTemplate{title = '仅', args = {'NS版', '', '图片角标'}}
local onlyNS = frame:expandTemplate{title = '仅', args = {'NS版', '', '图片角标'}}
if mobile_id[id] and ns_id[id] then
if mobile_id and ns_id then
packItem_ns = mad.packQueryWrap(ns_song[id].set, 'ns')
packItem_ns = mad.packQueryWrap(song.set, 'ns')
local pack_ns = packItem_ns['name']
local pack_ns = packItem_ns['name']
if pack_ns == pack_main then
if pack_ns == pack_main then
pack = link(pack_main)
pack = link(pack_main)
else
else
pack = link(pack_main) --.. onlyMobile .. '\n' ..pack_ns .. onlyNS
pack = link(pack_main) .. onlyMobile .. '<br \>' ..link(pack_ns) .. onlyNS
end
end
elseif mobile_id then
elseif mobile_id[id] then
pack = link(pack_main) .. onlyMobile
pack = link(pack_main) .. onlyMobile
else 
else 
918

个编辑