“模块:Lyrics”的版本间差异

添加186字节 、​ 2020年8月26日 (三) 23:14
无编辑摘要
:cssText('width:'..(args.width or 'calc(100% - '..(args.reserveWidth or '300px')..');')) --设置宽度或留白宽度。默认为留白300px。
:cssText(args.containerstyle or '') --设置容器的其他style。
 
if (args[2] or args.translated or '') == '' then
html:addClass('Lyrics_no_translation') --如果歌詞沒有添加譯文,則添加Lyrics_no_translation的class。
end
 
if (args[1] or args.original or ''):find('<ruby') or (args[2] or args.transalted or ''):find('<ruby') or (args.hasRuby or ''):find('[^%s]') then
16,874

个编辑