跳转到内容

模組:Class/data

被永久保护的模块
维基百科,自由的百科全书

-- code和alias中的英文名请使用纯小写
-- 因Lua的mw.site.stats.pagesInCategory()对分类简繁体敏感,因此简繁体名称分开储存:name为简体中文名,name2为繁体中文名

return {
	
	-- Unassessed
	
	[0] = { 
		code = 'unassessed',
		name = '未评',
		name2 = '未評',
		color = 'transparent', 
		icon = 'Symbol question.svg', 
		alias = {'un', '未', '未评级', '未評級'},
	},
	
	-- Article class
	
	{ 
		code = 'fa', 
		name = '典范', 
		name2 = '典範', 
		color = '#9CBDFF', 
		icon = 'Symbol star.svg',
		alias = { '特', '特色', '特色條目', '特色条目', '典范', '典範', '典范条目', '典範條目' },
	},

	{ 
		code = 'a', 
		name = '甲',
		name2 = '甲',
		color = '#66FFFF',
		icon = 'Symbol a class.svg', 
		alias = { '甲级', '甲級' },
	},

	{ 
		code = 'ga', 
		name = '优良', 
		name2 = '優良', 
		color = '#66FF66', 
		icon = 'Symbol support vote.svg', 
		alias = { '优', '優', '良', '优良条目', '優良條目' },
	},

	{ 
		code = 'bplus',
		name = '乙上', 
		name2 = '乙上', 
		color = '#8CFF66', 
		icon = 'Symbol bplus class.svg', 
		alias = { 'b+', '乙+' }, 
	},

	{ 
		code = 'b', 
		name = '乙', 
		name2 = '乙', 
		color = '#B2FF66', 
		icon = 'Symbol b class.svg', 
		alias = { '乙级', '乙級' },
	},
	
	{ 
		code = 'c', 
		name = '丙', 
		name2 = '丙', 
		color = '#FFFF66', 
		icon = 'Symbol c class.svg',
		alias = { '丙级', '丙級' },
	},

	{ 
		code = 'd', 
		name = '丁', 
		name2 = '丁', 
		color = '#FFD466', 
		icon = 'Symbol d class.svg',
		alias = { '丁级', '丁級' },
	},

	{ 
		code = 'start', 
		name = '初', 
		name2 = '初', 
		color = '#FFAA66', 
		icon = 'Start-icon.svg', 
		alias = { '初级', '初級' },
	},

	{ 
		code = 'stub', 
		name = '小作品', 
		name2 = '小作品',
		color = '#FFA4A4',
		icon = 'Symbol stub class.svg',
		alias = { '小' },
	},
	
	{ 
		code = 'substub', 
		name = '小小作品', 
		name2 = '小小作品',
		color = '#ff9292',
		icon = 'Wikivoyage usable icon.png',
		alias = { '小小' },
	},
	
	-- List class
	{ 
		code = 'list', 
		name = '列表', 
		name2 = '列表', 
		color = '#C7B1FF', 
		icon = 'Symbol list class.svg', 
		alias = { 'l', '表' },
	},
	
	{ 
		code = 'fl', 
		name = '特色列表', 
		name2 = '特色列表', 
		color = '#9CBDFF', 
		icon = 'Symbol star.svg',
		alias = { '特表' },
	},

	{ 
		code = 'al', 
		name = '甲级列表', 
		name2 = '甲級列表',
		color = '#66ffff',
		icon = 'Symbol a class.svg',
		alias = { '甲表' },
	},

	{ --[[d:Q51759403]]
		code = 'gl', 
		name = '优良列表', 
		name2 = '優良列表',
		color = '#66ff66', 
		icon = 'Symbol support vote.svg', 
		alias = { '優表','优表','良表' },
	},
	
	{ 
		code = 'bl', 
		name = '乙级列表', 
		name2 = '乙級列表',
		color = '#B2FF66', 
		icon = 'Symbol b class.svg', 
		alias = { '乙表' },
	},

	{ 
		code = 'cl', 
		name = '丙级列表', 
		name2 = '丙級列表',
		color = '#FFFF66', 
		icon = 'Symbol c class.svg', 
		alias = { '丙表' } ,
	},

	{ 
		code = 'sl', 
		name = '小列表', 
		name2 = '小列表', 
		color = '#FFA4A4', 
		icon = 'Symbol sl class.svg',
		alias = { '小表' },
	},
	
	{ 
		code = 'sia', 
		name = '同类索引', 
		name2 = '同類索引', 
		color = '#E9DAFF', 
		icon = 'Symbol sia class.svg',
		alias = { '索引' },
	},
	-- portal pages
	{ 
		code = 'portal', 
		name = '主题', 
		name2 = '主題',
		color = '#DDB1BC',
		icon = 'Symbol portal class.svg', 
		alias = { '主' },
	},
	
	{ 
		code = 'fpo', 
		name = '特色主题', 
		name2 = '特色主题',
		color = '#9cbdff',
		icon = 'Linecons big-star.svg', 
		alias = { },
	},
	
	{ 
		code = 'complete', 
		name = '完成', 
		name2 = '完成',
		color = '#b2ff66',
		icon = 'Symbol portal class.svg', 
		alias = { '完成主题','完成主題' },
	},

	{ 
		code = 'substantial', 
		name = '充实', 
		name2 = '充實',
		color = '#ffff66',
		icon = 'Symbol portal class.svg', 
		alias = { '基本主题','基本主題', '充實主題', '充实主题', '基本' },
	},
	
	{ 
		code = 'basic', 
		name = '简单', 
		name2 = '簡單',
		color = '#ffaa66',
		icon = 'Symbol portal class.svg', 
		alias = { '简单主题','簡單主題' },
	},
	
	-- Special article class
	
	{ 
		code = 'current',
		name = '动态',
		name2 = '動態',
		color = '#E6A4FF',
		icon = 'Symbol current class.svg',
		alias = { '动', '動', '新闻动态', '新聞動態' },
	},

	{ 
		code = 'future', 
		name = '未来', 
		name2 =  '未來',
		color = '#B4BBFF', 
		icon = 'Symbol future class.svg',
		alias = { },
	},

	{ 
		code = 'merge', 
		name = '合并', 
		name2 = '合併',
		color = '#ADD8E6', 
		icon = 'Symbol merge vote.svg',
		alias = { '并', '併' },
	},

	{ 
		code = 'needed', 
		name = '请求', 
		name2 = '請求',
		color = '#DCDCDC', 
		icon = 'Symbol needed class.svg',
		alias = { '请', '請' },
	},
	
	-- Non-article class

	{ 
		code = 'book',
		name = '图书',
		name2 = '圖書',
		color = '#98ff98',
		icon = 'Symbol book class.svg', 
		alias = { '書', '书', '圖書', '图书'},
	},

	{ 
		code = 'sandbox',
		name = '沙盒',
		name2 = '沙盒',
		color = '#FFCD71',
		icon = 'Symbol sandbox class.svg', 
		alias = { '沙', '砂盒'},
	},

	{ 
		code = 'category',
		name = '分类',
		name2 = '分類',
		color = '#FFDB58',
		icon = 'Symbol category class.svg', 
		alias = { 'cat', '类', '類' },
	},

	{ 
		code = 'disambig', 
		name = '消歧义', 
		name2 = '消歧義',
		color = '#00FA9A', 
		icon = 'Symbol dab class.svg',
		alias = { 'dab', 'disam', 'disamb', '消' },
	},

	{ 
		code = 'draft',
		name = '草稿',
		name2 = '草稿',
		color = '#E7B198',
		icon = 'Symbol draft class.svg',
		alias = { '稿' },
	},
	
	{ 
		code = 'fm',
		name = '特色图片',
		name2 =  '特色圖片',
		color = '#9CBDFF', 
		icon = 'Symbol star.svg',
		alias = { 'fi', '特图', '特圖' },
	},

	{
		code = 'file',
		name = '文件',
		name2 = '文件',
		color = '#DDCCFF',
		icon = 'Symbol file class.svg',
		alias = { 'image', '图', '圖', '图像', '圖像', '档案', '檔案', '多媒体', '多媒體', '媒体', '媒體' },
	},

	{
		code = 'audio',
		name = '音频',
		name2 = '音頻',
		color = '#DDCCFF',
		icon = 'Audio-itunes.svg',
		alias = { 'music', '音', '音频', '音頻', '音訊', '音讯' },
	},

	{ 
		code = 'project', 
		name = '专题', 
		name2 = '專題',
		color = '#C0C090', 
		icon = 'Symbol project class.svg', 
		alias = { '专', '專' },
	},

	{
		code = 'redirect', 
		name = '重定向',
		name2 = '重定向',
		color = '#C0C0C0',
		icon = 'Symbol redirect class.svg',
		alias = { 'red', 'redir', '重', '重新導向', '重新导向' },
	},

	{ 
		code = 'template',
		name = '模板',
		name2 = '模板',
		color = '#FBCEB1',
		icon = 'Symbol template class.svg',
		alias = { 'temp', '模', '板' },
	},

	{ 
		code = 'module',
		name = '模块',
		name2 = '模組',
		color = '#F8EABA',
		icon = 'Symbol code red.svg',
		alias = { 'mod', '模组', '模塊' },
	},

	{ 
		code = 'user', 
		name = '用户', 
		name2 = '用户', 
		color = '#DDD06A',
		icon = 'Symbol user class.svg',
		alias = { '使用者' },
	},

	{ 
		code = 'help', 
		name = '使用说明', 
		name2 = '使用說明', 
		color = '#819beb',
		icon = 'Symbol information vote.svg',
		alias = { '说明','說明' },
	},

	{ 
		code = 'interface', 
		name = '界面', 
		name2 = '介面', 
		color = '#f9e59e',
		icon = 'Pliers Symbol.svg',
		alias = { },
	},

	{ 
		code = 'council', 
		name = '委员会', 
		name2 = '委員會', 
		color = '#8ce2f5',
		icon = 'WikiProject Council with transparent background.svg',
		alias = { },
	},

	{ 
		code = 'deferred', 
		name = '搁置',
		name2 = '擱置',
		color = '#D1BCAC',
		icon = 'Symbol deferred.svg',
		alias = { },
	},

	{
		code = 'na',
		name = '非条目',
		name2 =  '非條目',
		color = '#F5F5F5', 
		icon = 'Symbol na class.svg', 
		alias = { '非' },
	},

	{
		code = 'napage',
		name = '非页面',
		name2 =  '非頁面',
		color = '#F5F5F5', 
		icon = 'Symbol na class.svg', 
		alias = { },
	},

	{
		code = 'no',
		name = '无',
		name2 =  '無',
		color = 'white', 
		icon = 'Wikivoyage outline icon.png', 
		alias = { '無級別', '无级别' },
	},

	{ 
		code = 'unknown',
		name = '未知',
		name2 = '未知',
		color = 'transparent', 
		icon = 'Symbol question.svg', 
		alias = { '未知级', '未知級', '¬'},
	},

	{ 
		code = 'error',
		name = '错误',
		name2 = '錯誤',
		color = 'red', 
		icon = 'Template-X.svg', 
		alias = { },
	},
	
}