85
个编辑
标签:已回退 |
标签:手工回退 |
||
第81行: | 第81行: | ||
end | end | ||
local copyright = '' | |||
local frame = mw.getCurrentFrame() | local frame = mw.getCurrentFrame() | ||
local LDC = frame:callParserFunction{ name = '#var', args = { 'LDC', '0' } } | |||
if LDC ~= '1' and args.override ~= '1' then | |||
copyright = '<small>本段落中所使用的歌词,其著作权属于' .. (args.author or '原著作权人') .. ',仅以介绍为目的引用。</small>' | |||
elseif LDC == '1' and args.override == '1' then | |||
copyright = frame:expandTemplate{ title = 'ac', args = { '不必要使用override参数的音乐条目' } } | |||
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' } } | ||
return copyright .. css .. html | |||
end | end | ||