16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 |
小 |
||
: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
|