918
次編輯
Economy666(留言 | 貢獻) 小無編輯摘要 |
Economy666(留言 | 貢獻) 無編輯摘要 |
||
行 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( | |||
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) | 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 |
次編輯