Module:Songtable:修订间差异

添加297字节 、​ 2021年5月22日 (星期六)
无编辑摘要
无编辑摘要
无编辑摘要
第159行: 第159行:


function p._main(args)
function p._main(args)
local category=''
local data,dataNs
local data,dataNs
local argsLength = 0
local argsLength = 0
第178行: 第179行:
[3]={ 'mobile' , 'FutureNote编写' , 'note编写' , 'ftrChartDesigner' },
[3]={ 'mobile' , 'FutureNote编写' , 'note编写' , 'ftrChartDesigner' },
[4]={ 'mobile' , 'BeyondNote编写' , 'note编写' , 'bydChartDesigner' },
[4]={ 'mobile' , 'BeyondNote编写' , 'note编写' , 'bydChartDesigner' },
[5]={ 'ns' , 'PastNote编 ' , 'note编 ' , 'pstChartDesigner' },
[5]={ 'ns' , 'PastNote编 写NS' , 'note编 写NS' , 'pstChartDesigner' },
[6]={ 'ns' , 'PresentNote编 ' , 'note编 ' , 'prsChartDesigner' },
[6]={ 'ns' , 'PresentNote编 写NS' , 'note编 写NS' , 'prsChartDesigner' },
[7]={ 'ns' , 'FutureNote编 ' , 'note编 ' , 'ftrChartDesigner' }
[7]={ 'ns' , 'FutureNote编 写NS' , 'note编 写NS' , 'ftrChartDesigner' }
}
}
第389行: 第390行:
},
},
[57]={
[57]={
args['背景'],dataNs('bg'),{ ['class']='data' }
'[[背景列表|'..args['背景']..']]','[[背景列表|'..dataNs('bg')..']]',{ ['class']='data' }
},
},
[58]={
[58]={
第412行: 第413行:
if byd then box:addClass( "byd" ) end
if byd then box:addClass( "byd" ) end
if data('side')==1 then box:addClass( "conflict" ) else box:addClass( "light" ) end
if data('side')==1 then box:addClass( "conflict" ) else box:addClass( "light" ) end
if args['更新版本NS'] or dataNs('version') then 
if args['更新版本NS'] or dataNs('version') 
then
box:addClass( "ns-box" ) 
box:addClass( "ns-box" ) 
if not( dataNs('pstChange') or dataNs('prsChange') or dataNs('ftrChange') or byd )
if not( dataNs('pstChange') or dataNs('prsChange') or dataNs('ftrChange') or byd )
then 
then 
category=category..'[[分类:双平台曲目]][[多平台谱面有差异的曲目]]'
box:addClass( "ns-same" )
box:addClass( "ns-same" )
else
category=category..'[[分类:双平台曲目]]'
end
end
else
category=category..'[[分类:仅移动版曲目]]'
end
end
if args['Beyond更新版本'] and args['Beyond更新时间'] then box:addClass( 'mobile-byd-date' ) end
if args['Beyond更新版本'] and args['Beyond更新时间'] then box:addClass( 'mobile-byd-date' ) end
第438行: 第445行:
end
end
return box
return box..category
end
end


return p
return p