跳至內容

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

移除 7 位元組 、​ 2024年3月12日 (星期二)
songtable fix
(songtable)
(songtable fix)
行 49: 行 49:
local id = song and song.id
local id = song and song.id
local argPic = args['图片'] or args['曲绘']
local argPic = args['图片'] or args['曲绘']
local argArtist = args[' 图片'] or args['曲绘']
local argArtist = args[' 画师']
if args['Beyond画师'] then
if args['Beyond画师'] then
return createContainer {
return createContainer {
行 73: 行 73:
local res = array()
local res = array()
local cur, len = charts[1][field], 1
local cur, len = charts[1][field], 1
for _, c in ipairs(charts) do
for _, c in ipairs {}, charts, 1 do
local e = c[field]
local e = c[field]
if e == cur then
if e == cur then
行 248: 行 248:




main:tag 'div':addClass 'bg-c':css(platCode == 3 and {gridRow = 'span 2'} or {}):wikitext '更新时间'
main:tag 'div':addClass 'bg-c':css(platCode == 3 and {['grid-row'] = 'span 2'} or {}):wikitext '更新时间'
for _, tp in ipairs(merge(charts, 'vdOverride')) do
for _, tp in ipairs(merge(charts, 'vdOverride')) do
local data, len = unpack(tp)
local data, len = unpack(tp)
1,132

次編輯