「Module:沙盒/盐棋/Sandbox」:修訂間差異

main而不是box repeat
(换行、残缺)
(main而不是box repeat)
行 152: 行 152:
colTags[idx] = diff['@tag'] or ({[0] = 'Past', 'Present', 'Future', 'Beyond', 'Eternal'})[diff.ratingClass]
colTags[idx] = diff['@tag'] or ({[0] = 'Past', 'Present', 'Future', 'Beyond', 'Eternal'})[diff.ratingClass]
end
end
box:addClass('repeat-' .. #colTags)
main:addClass('repeat-' .. #colTags)


local artist = args['编曲'] or args['曲师'] or song.artist
local artist = args['编曲'] or args['曲师'] or song.artist
行 283: 行 283:
end
end
return tostring(box) .. noticeText .. (args['nocat'] and '' or table.concat(category))
return tostring(box) .. noticeText .. (args['nocat'] and '' or table.concat(category))
-- .. tostring(mw.html.create 'pre':wikitext(mw.dumpObject(charts)))
-- .. tostring(mw.html.create 'pre':wikitext(mw.dumpObject(charts)))
end
end
-- p.dateCov = dateCov
-- p.dateCov = dateCov
2,525

次編輯