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 |
个编辑