模組:Icon/data
外观
-- This module stores icon data for [[Module:Icon]].
--------------------------------------------------------------------------------
-- Icon data
--------------------------------------------------------------------------------
local data = {
fa = {
image = "Featured article star.svg",
tooltip = "典范条目",
},
far = {
image = "Cscr-star piece.png",
tooltip = "典范条目候选",
},
farc = {
image = "Cscr-star piece.png",
tooltip = "典范条目重审",
},
ffa = {
aliases = {"dfa"},
image = "Featured article star - cross.svg",
tooltip = "已被撤销的典范条目",
},
fac = {
aliases = {"fan"},
image = "Cscr-candidate.svg",
tooltip = "典范条目评选",
},
ffac = {
aliases = {"nofa"},
image = "Featured article star - cross.svg",
tooltip = "落选典范条目",
},
fl = {
image = "Featured article star.svg",
tooltip = "特色列表",
},
flrc = {
aliases = {"flr"},
image = "Cscr-star piece.png",
tooltip = "特色列表重审",
},
ffl = {
aliases = {"dfl"},
image = "Cscr-featured-strike.svg",
tooltip = "已被撤销的特色列表",
},
flc = {
aliases = {"fln"},
image = "Cscr-candidate.svg",
tooltip = "特色列表候选",
},
fflc = {
aliases = {"nofl"},
image = "Featured article star - cross.svg",
tooltip = "落选特色列表",
},
a = {
image = "Symbol a class.svg",
tooltip = "甲级条目",
},
dac = {
aliases = {"daa"},
image = "Symbol unsupport A vote.svg",
tooltip = "已降级甲级条目",
},
acc = {
aliases = {"acn", "aac"},
image = "A candidate.svg",
tooltip = "甲级条目候选",
},
noac = {
aliases = {"faac"},
image = "Symbol unsupport A vote.svg",
tooltip = "落选甲级条目",
},
ga = {
image = "Symbol support vote.svg",
tooltip = "优良条目",
},
gar = {
image = "GA Candidate Neutral vote(ChaosNil).svg",
tooltip = "优良条目重审",
},
dga = {
image = "Symbol unsupport vote.svg",
tooltip = "已被撤销的优良条目",
},
gan = {
aliases = {"gac"},
image = "GA candidate.svg",
tooltip = "优良条目候选",
},
ga2 = {
image = "Symbol neutral vote.svg",
tooltip = "寻求意见的优良条目",
},
gah = {
image = "Symbol wait.svg",
tooltip = "搁置的优良条目",
},
fgan = {
aliases = {"noga", "gaf", "gf"},
image = "Symbol oppose vote.svg",
tooltip = "落选优良条目",
},
fp = {
image = "Cscr-featured.svg",
tooltip = "特色图片",
},
fpc = {
aliases = {"fpn"},
image = "Cscr-candidate.svg",
tooltip = "特色图片候选",
},
ffpc = {
aliases = {"nofp"},
image = "Featured article star - cross.svg",
tooltip = "落选特色图片",
},
ffp = {
image = "Featured article star - cross.svg",
tooltip = "已被撤销的特色图片",
},
vp = {
image = "ENWP VP Logo.svg",
tooltip = "珍贵图片",
},
vpc = {
image = "Valued pics 1.svg",
tooltip = "珍贵图片候选",
},
fs = {
image = "Cscr-featured.svg",
tooltip = "特色声音",
},
ffs = {
image = "Cscr-former.svg",
tooltip = "已被撤销的特色声音",
},
fsc = {
image = "Cscr-candidate.svg",
tooltip = "特色声音候选",
},
fpo = {
image = "Cscr-featured.svg",
tooltip = "特色主题",
},
fpor = {
image = "Cscr-star piece.png",
tooltip = "特色主题评选",
},
ffpo = {
image = "Featured article star - cross.svg",
tooltip = "已被撤销的特色主题",
},
fpoc = {
image = "Cscr-candidate.svg",
tooltip = "特色主题候选",
},
ft = {
image = "Cscr-featuredtopic.svg",
tooltip = "特色话题",
},
ftrc = {
image = "Cscr-star piece.png",
tooltip = "特色话题重审",
},
fft = {
aliases = {"dft"},
image = "DFT candidate_cluster.svg",
tooltip = "已被撤销的特色话题",
},
ftc = {
aliases = {"ftn"},
image = "FT candidate cluster.svg",
tooltip = "特色话题候选",
},
gt = {
image = "Support cluster.svg",
tooltip = "优良话题",
},
gtrc = {
image = "Symbol unsupport vote.svg",
tooltip = "优良话题重审",
},
gtc = {
aliases = {"gtn"},
image = "GA candidate cluster.svg",
tooltip = "优良话题候选",
},
bplus = {
aliases = {"b+"},
image = "Symbol bplus class.svg",
tooltip = "乙+级条目",
},
b = {
image = "Symbol b class.svg",
tooltip = "乙级条目",
},
br = {
aliases = {"bcr"},
image = "Bclass-checklist.svg",
tooltip = "乙级条目评选",
},
c = {
image = "Symbol c class.svg",
tooltip = "丙级条目",
},
start = {
image = "Symbol start class.svg",
tooltip = "初级条目",
},
stub = {
image = "Symbol stub class.svg",
tooltip = "小作品级条目",
},
list = {
aliases = {"comparison"},
image = "Symbol list class.svg",
tooltip = "列表级条目",
},
no = {
image = "Crystal button cancel.svg",
tooltip = "未知分级条目",
},
book = {
image = "Symbol book class2.svg",
tooltip = "维基百科图书",
},
category = {
aliases = {"cat", "categ"},
image = "Symbol category class.svg",
tooltip = "分类",
},
disambiguation = {
aliases = {"dab", "disamb", "disambig"},
image = "Symbol dab class.svg",
tooltip = "消歧义页",
},
image = {
aliases = {"file"},
image = "Video-x-generic.svg",
tooltip = "文件",
},
portal = {
image = "Symbol portal class.svg",
tooltip = "主题",
},
project = {
image = "Symbol information vote.svg",
tooltip = "项目页面",
},
redirect = {
aliases = {"red", "redir"},
image = "Symbol redirect vote2.svg",
tooltip = "重定向页",
},
template = {
aliases = {"temp", "templ"},
image = "Symbol template class.svg",
tooltip = "模板",
},
essay = {
image = "Essay.svg",
tooltip = "论述",
},
na = {
image = "Symbol neutral vote.svg",
tooltip = "非条目页面",
},
aa = {
image = "Yes check.svg",
tooltip = "限定主题的已审条目",
},
da = {
image = "Symbol oppose vote.svg",
tooltip = "降级条目",
},
dyk = {
image = "Symbol question.svg",
tooltip = "你知道吗?",
},
dyk2 = {
image = "DYK questionmark icon.svg",
tooltip = "你知道吗?",
},
dykc = {
aliases = {"dykn"},
image = "DYK candidate.svg",
tooltip = "你知道吗?候选",
},
pr = {
image = "Nuvola apps kedit.png",
tooltip = "同行评审",
},
ppr = {
image = "Nuvola apps kedit.png",
tooltip = "主题同行评审",
},
q = {
aliases = {"question"},
image = "Symbol question.svg",
tooltip = "问题",
},
qi = {
image = "Quality images logo.svg",
tooltip = "维基共享资源优质图像",
},
vi = {
image = "Valued image seal.svg",
tooltip = "维基共享资源珍贵图像",
},
tfa = {
image = "Wikipedia-logo.svg",
tooltip = "今日典范条目",
},
itn = {
image = "Globe current.svg",
tooltip = "新闻动态",
},
otd = {
image = "Nuvola apps date.svg",
tooltip = "历史上的今天",
},
wikiproject = {
image = "People icon.svg",
tooltip = "专题",
},
wikipedia = {
image = "Wikipedia-logo.svg",
tooltip = "维基百科页面",
},
commons = {
image = "Commons-logo.svg",
tooltip = "共享资源页面",
},
wikiquote = {
image = "Wikiquote-logo.svg",
tooltip = "维基语录页面",
},
wikiversity = {
image = "Wikiversity-logo.svg",
tooltip = "维基学院页面",
},
wikibooks = {
image = "Wikibooks-logo.svg",
tooltip = "维基教科书页面",
},
wikisource = {
image = "Wikisource-logo.svg",
tooltip = "维基文库页面",
},
wiktionary = {
image = "Wiktionary-logo.svg",
tooltip = "维基词典页面",
},
wikinews = {
image = "Wikinews-logo.svg",
tooltip = "维基新闻页面",
},
wikispecies = {
image = "Wikispecies-logo.svg",
tooltip = "维基物种页面",
},
wikidata = {
image = "Wikidata-logo.svg",
tooltip = "维基数据页面",
},
wikivoyage = {
image = "Wikivoyage-logo.svg",
tooltip = "维基导游页面",
},
meta = {
image = "Wikimedia Community Logo.svg",
tooltip = "元维基页面",
},
four = {
image = "Four Award.svg",
tooltip = "Four Award",
},
million = {
image = "Million award logo.svg",
tooltip = "Million Award",
},
dc = {
aliases = {"DC"},
image = "Wikipedia_zh_dc_logo.svg",
tooltip = "维基百科动员令",
},
wam = {
aliases = {"WAM"},
image = "WAM_logo_without_text.svg",
tooltip = "维基百科亚洲月",
},
wafm = {
aliases = {"WAFM"},
image = "African_Month_Medal.svg",
tooltip = "维基百科非洲月",
},
-- WP:VA usage
va = {
aliases = {"VA", "vital article", "基礎條目", "基础条目"},
image = "Círculos Concéntricos.svg",
tooltip = "基礎條目",
},
vaa = {
image = "Yes check.svg",
tooltip = "> 30 KB",
},
vab = {
image = "Yes check lines.svg",
tooltip = "10 - 30 KB",
},
vac = {
image = "QSicon in Arbeit.svg",
tooltip = "3 - 10 KB",
},
_DEFAULT = {
image = "Symbol question.svg",
}
}
--------------------------------------------------------------------------------
-- End icon data
--------------------------------------------------------------------------------
-- Make aliases work the same as normal keys, and remove the "aliases" subtables.
for k, t in pairs(data) do
if t.aliases then
for i, alias in ipairs(t.aliases) do
data[alias] = t
end
t.aliases = nil
end
data[k] = t
end
return data