Module:Songtable:修订间差异

添加235字节 、​ 2021年7月15日 (星期四)
无编辑摘要
无编辑摘要
无编辑摘要
第37行: 第37行:
local diff,mark = mw.html.create( 'div' ),mw.html.create( 'div' )
local diff,mark = mw.html.create( 'div' ),mw.html.create( 'div' )
diff:wikitext('[Beyond]')
diff:wikitext('[Beyond]')
mark:wikitext('仅移动 ')
mark:wikitext('仅移动 ')
if byd and name~='Tempestissimo'
if byd and name~='Tempestissimo'
then
then
第452行: 第452行:
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
if args['曲名']=='Tempestissimo' then box:addClass( 'ns-byd-date' ) box:addClass( 'ns-date-span' )  end
if args['曲名']=='Tempestissimo' then box:addClass( 'ns-byd-date' ) box:addClass( 'ns-date-span' )  end
if not(args['更新版本'] or args['更新时间'] or data('id')) then box:addClass( 'no-mobile' )  end
--分类添加
--分类添加
if args['更新版本NS'] or dataNs('id') 
if args['更新版本NS'] or dataNs('id')
then
then
category=category..'[[分类:双 模式 曲目]]'
if args['更新版本'] or args['更新时间'] or data('id')
then
category=category..'[[分类:双 平台曲目]]'
else
category=category..'[[分类:NS版 曲目]]'
end
else
else
category=category..'[[分类: 仅触摸模式 曲目]]'
category=category..'[[分类: 移动版 曲目]]'
end
end
if dataNs('pstChange') or dataNs('prsChange') or dataNs('ftrChange') then category=category..'[[分类:多模式谱面有差异的曲目]]' end
if dataNs('pstChange') or dataNs('prsChange') or dataNs('ftrChange') then category=category..'[[分类:多模式谱面有差异的曲目]]' end
if args['nocat'] then category='' end
if args['nocat'] then category='' end