Module:Category Arcaea

来自Arcaea中文维基

可在Module:Category Arcaea/doc创建此模块的帮助文档

local getArgs = require('Module:Arguments').getArgs
local p = {}

function p.main(frame)
	local name = getArgs(frame)[1]
	if string.find(name, 'Songs') then return '[[分类:曲目封面图片]]' end
	if string.find(name, 'Pack') then return '[[分类:曲包封面图片]]' end
	if string.find(name, 'icon') and string.find(name, 'Partner') then return '[[分类:搭档图标图片]]' end
	if string.find(name, 'Partner') then return '[[分类:搭档图片]]' end
	if string.find(name, 'Background') then return '[[分类:游玩背景图片]]' end
	if string.find(name, 'New') or string.find(name, 'new') then return '[[分类:官方宣传图片]]' end
	if string.find(name, 'Icon button') then return '[[分类:条目图标图片]]' end
	if string.find(name, 'Story') then return '[[分类:故事模式图片]]' end
end

return p