Module:曲目列表:修订间差异

Admin​(留言 | 贡献)
显示本曲实际使用的名义:主名义与原名不同时追加「(名义:原署名)」
Admin​(留言 | 贡献)
名义提示判定:只在真·马甲/组合标签/带注释时显示(排除纯写法差异)
第45行: 第45行:
end
end
end
end
-- 本曲实际使用的名义(与主名义不同才追加,如 JKy(名义:StrayCat))
-- 本曲实际使用的名义(真·马甲/组合标签/带注释 才提示)
local plain = {}
for _, pt in ipairs(parts) do plain[#plain + 1] = pt.base end
local joined = table.concat(plain, ' / ')
local note = ''
local note = ''
if parse.norm(raw) ~= parse.norm(joined) then
if parse.creditNote(raw, lk) then
note = ' <span style="font-size:85%;color:#666">(名义:' .. esc(raw) .. ')</span>'
note = ' <span style="font-size:85%;color:#666">(名义:' .. esc(raw) .. ')</span>'
end
end