85
次編輯
(创建页面,内容为“local p = {} local getArgs = require('Module:Arguments').getArgs local lang = require('Module:Lang') function p._lyrics(args, hookTrigger, customArgs) local original = args.original or '' local translated = args.translated or '' if hookTrigger then original, translated = hookTrigger('preSplit', original, translated, customArgs) end --mw.text.split的效率太低啦,我愿称之为shit local orig = {} local iter = mw.ustring.gmatch(original..'\n',…”) |
標籤:已被回退 |
||
行 81: | 行 81: | ||
end | end | ||
local css = frame:extensionTag{ name = 'templatestyles', args = { src = 'Template:LyricsKai/styles.css' } } | local css = frame:extensionTag{ name = 'templatestyles', args = { src = 'Template:LyricsKai/styles.css' } } | ||