Module:Icon/data: Difference between revisions

From The Elite Wiki
Jump to: navigation, search
en>Paine Ellsworth
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
image = "Featured article star.svg",
image = "Featured article star.svg",
tooltip = "Featured article",
tooltip = "Featured article",
link = true,
},
},
far = {
far = {
image = "Cscr-star piece.png",
image = "Cscr-star piece.png",
tooltip = "Featured article review",
tooltip = "Featured article review",
link = true,
},
},
farc = {
farc = {
image = "Cscr-star piece.png",
image = "Cscr-star piece.png",
tooltip = "Featured article removal candidate",
tooltip = "Featured article removal candidate",
link = true,
},
},
ffa = {
ffa = {
Line 25: Line 22:
image = "Featured article star - cross.svg",
image = "Featured article star - cross.svg",
tooltip = "Former featured article",
tooltip = "Former featured article",
link = true,
},
},
fac = {
fac = {
Line 31: Line 27:
image = "Cscr-candidate.svg",
image = "Cscr-candidate.svg",
tooltip = "Featured article candidate",
tooltip = "Featured article candidate",
link = true,
},
},
ffac = {
ffac = {
Line 37: Line 32:
image = "Featured article star - cross.svg",
image = "Featured article star - cross.svg",
tooltip = "Failed featured article candidate",
tooltip = "Failed featured article candidate",
link = true,
},
},
fl = {
fl = {
image = "Featured article star.svg",
image = "Featured article star.svg",
tooltip = "Featured list",
tooltip = "Featured list",
link = true,
},
},
flrc = {
flrc = {
Line 48: Line 41:
image = "Cscr-star piece.png",
image = "Cscr-star piece.png",
tooltip = "Featured list removal candidate",
tooltip = "Featured list removal candidate",
link = true,
},
},
ffl = {
ffl = {
Line 54: Line 46:
image = "Cscr-featured-strike.svg",
image = "Cscr-featured-strike.svg",
tooltip = "Former featured list",
tooltip = "Former featured list",
link = true,
},
},
flc = {
flc = {
Line 60: Line 51:
image = "Cscr-candidate.svg",
image = "Cscr-candidate.svg",
tooltip = "Featured list candidate",
tooltip = "Featured list candidate",
link = true,
},
},
fflc = {
fflc = {
Line 66: Line 56:
image = "Cscr-former.svg",
image = "Cscr-former.svg",
tooltip = "Failed featured list candidate",
tooltip = "Failed featured list candidate",
link = true,
},
},
a = {
a = {
image = "Symbol a class.svg",
image = "Symbol a class.svg",
tooltip = "A-Class article",
tooltip = "A-Class article",
link = true,
},
},
dac = {
dac = {
Line 77: Line 65:
image = "Symbol unsupport A vote.svg",
image = "Symbol unsupport A vote.svg",
tooltip = "Demoted A-Class article",
tooltip = "Demoted A-Class article",
link = true,
},
},
acc = {
acc = {
Line 83: Line 70:
image = "A candidate.svg",
image = "A candidate.svg",
tooltip = "A-Class article candidate",
tooltip = "A-Class article candidate",
link = true,
},
},
noac = {
noac = {
Line 89: Line 75:
image = "Symbol unsupport A vote.svg",
image = "Symbol unsupport A vote.svg",
tooltip = "Failed A-Class article candidate",
tooltip = "Failed A-Class article candidate",
link = true,
},
},
ga = {
ga = {
image = "Symbol support vote.svg",
image = "Symbol support vote.svg",
tooltip = "Good article",
tooltip = "Good article",
link = false,
},
},
gar = {
gar = {
image = "GA Candidate Neutral vote(ChaosNil).svg",
image = "GA Candidate Neutral vote(ChaosNil).svg",
tooltip = "Good article reassessment",
tooltip = "Good article reassessment",
link = false,
},
},
dga = {
dga = {
image = "Symbol unsupport vote.svg",
image = "Symbol unsupport vote.svg",
tooltip = "Delisted good article",
tooltip = "Delisted good article",
link = false,
},
},
gan = {
gan = {
Line 110: Line 92:
image = "GA candidate.svg",
image = "GA candidate.svg",
tooltip = "Good article nominee",
tooltip = "Good article nominee",
link = false,
},
},
ga2 = {
ga2 = {
image = "Symbol neutral vote.svg",
image = "Symbol neutral vote.svg",
tooltip = "Good article, 2nd opinion",
tooltip = "Good article, 2nd opinion",
link = false,
},
},
gah = {
gah = {
image = "Symbol wait.svg",
image = "Symbol wait.svg",
tooltip = "Good article on hold",
tooltip = "Good article on hold",
link = false,
},
},
fgan = {
fgan = {
Line 126: Line 105:
image = "Symbol oppose vote.svg",
image = "Symbol oppose vote.svg",
tooltip = "Failed good article nominee",
tooltip = "Failed good article nominee",
link = false,
},
},
fp = {
fp = {
image = "Cscr-featured.svg",
image = "Cscr-featured.svg",
tooltip = "Featured picture",
tooltip = "Featured picture",
link = true,
},
},
fpc = {
fpc = {
Line 137: Line 114:
image = "Cscr-candidate.svg",
image = "Cscr-candidate.svg",
tooltip = "Featured picture candidate",
tooltip = "Featured picture candidate",
link = true,
},
},
ffp = {
ffp = {
image = "Cscr-former.svg",
image = "Cscr-former.svg",
tooltip = "Former featured picture",
tooltip = "Former featured picture",
link = true,
},
},
vp = {
vp = {
image = "ENWP VP Logo.svg",
image = "ENWP VP Logo.svg",
tooltip = "Valued picture",
tooltip = "Valued picture",
link = true,
},
},
vpc = {
vpc = {
image = "Valued pics 1.svg",
image = "Valued pics 1.svg",
tooltip = "Valued picture candidate",
tooltip = "Valued picture candidate",
link = true,
},
},
fs = {
fs = {
image = "Cscr-featured.svg",
image = "Cscr-featured.svg",
tooltip = "Featured sound",
tooltip = "Featured sound",
link = true,
},
},
ffs = {
ffs = {
image = "Cscr-former.svg",
image = "Cscr-former.svg",
tooltip = "Former featured sound",
tooltip = "Former featured sound",
link = true,
},
},
fsc = {
fsc = {
image = "Cscr-candidate.svg",
image = "Cscr-candidate.svg",
tooltip = "Featured sound candidate",
tooltip = "Featured sound candidate",
link = true,
},
},
fpo = {
fpo = {
image = "Linecons big-star.svg",
image = "Linecons big-star.svg",
tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.",
tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.",
link = true,
},
},
fpor = {
fpor = {
image = "Cscr-star piece.png",
image = "Cscr-star piece.png",
tooltip = "Featured portal review",
tooltip = "Featured portal review",
link = true,
},
},
ffpo = {
ffpo = {
image = "Featured article star - cross.svg",
image = "Featured article star - cross.svg",
tooltip = "Former featured portal",
tooltip = "Former featured portal",
link = true,
},
},
fpoc = {
fpoc = {
image = "Cscr-candidate.svg",
image = "Cscr-candidate.svg",
tooltip = "Featured portal candidate",
tooltip = "Featured portal candidate",
link = true,
},
},
ft = {
ft = {
image = "Cscr-featuredtopic.svg",
image = "Cscr-featuredtopic.svg",
tooltip = "Featured topic",
tooltip = "Featured topic",
link = true,
},
},
ftrc = {
ftrc = {
image = "Cscr-star piece.png",
image = "Cscr-star piece.png",
tooltip = "Featured topic removal candidate",
tooltip = "Featured topic removal candidate",
link = true,
},
},
fft = {
fft = {
Line 203: Line 167:
image = "DFT candidate_cluster.svg",
image = "DFT candidate_cluster.svg",
tooltip = "Former featured topic",
tooltip = "Former featured topic",
link = true,
},
},
ftc = {
ftc = {
Line 209: Line 172:
image = "FT candidate cluster.svg",
image = "FT candidate cluster.svg",
tooltip = "Featured topic candidate",
tooltip = "Featured topic candidate",
link = false,
},
},
gt = {
gt = {
image = "Support cluster.svg",
image = "Support cluster.svg",
tooltip = "Good topic",
tooltip = "Good topic",
link = false,
},
},
gtrc = {
gtrc = {
image = "Symbol unsupport vote.svg",
image = "Symbol unsupport vote.svg",
tooltip = "Good topic removal candidate",
tooltip = "Good topic removal candidate",
link = false,
},
},
gtc = {
gtc = {
Line 225: Line 185:
image = "GA candidate cluster.svg",
image = "GA candidate cluster.svg",
tooltip = "Good topic candidate",
tooltip = "Good topic candidate",
link = false,
},
},
bplus = {
bplus = {
Line 231: Line 190:
image = "Symbol bplus class.svg",
image = "Symbol bplus class.svg",
tooltip = "Bplus-Class article",
tooltip = "Bplus-Class article",
link = true,
},
},
b = {
b = {
image = "Symbol b class.svg",
image = "Symbol b class.svg",
tooltip = "B-Class article",
tooltip = "B-Class article",
link = true,
},
},
br = {
br = {
Line 242: Line 199:
image = "Bclass-checklist.svg",
image = "Bclass-checklist.svg",
tooltip = "B-Class review",
tooltip = "B-Class review",
link = true,
},
},
c = {
c = {
image = "Symbol c class.svg",
image = "Symbol c class.svg",
tooltip = "C-Class article",
tooltip = "C-Class article",
link = true,
},
},
start = {
start = {
image = "Symbol start class.svg",
image = "Symbol start class.svg",
tooltip = "Start-Class article",
tooltip = "Start-Class article",
link = true,
},
},
stub = {
stub = {
image = "Symbol stub class.svg",
image = "Symbol stub class.svg",
tooltip = "Stub-Class article",
tooltip = "Stub-Class article",
link = true,
},
},
list = {
list = {
Line 263: Line 216:
image = "Symbol list class.svg",
image = "Symbol list class.svg",
tooltip = "List-Class article",
tooltip = "List-Class article",
link = false,
},
},
no = {
no = {
image = "Crystal button cancel.svg",
image = "Crystal button cancel.svg",
tooltip = "Unknown-Class article",
tooltip = "Unknown-Class article",
link = true,
},
},
book = {
book = {
image = "Symbol book class2.svg",
image = "Symbol book class2.svg",
tooltip = "Wikipedia book",
tooltip = "Wikipedia book",
link = true,
},
},
category = {
category = {
Line 279: Line 229:
image = "Symbol category class.svg",
image = "Symbol category class.svg",
tooltip = "Category",
tooltip = "Category",
link = false,
},
},
disambiguation = {
disambiguation = {
Line 285: Line 234:
image = "Symbol dab class.svg",
image = "Symbol dab class.svg",
tooltip = "Disambiguation page",
tooltip = "Disambiguation page",
link = true,
},
},
image = {
image = {
Line 291: Line 239:
image = "Symbol file class.svg",
image = "Symbol file class.svg",
tooltip = "File",
tooltip = "File",
link = true,
},
needed = {
image = "Symbol needed class.svg",
tooltip = "Needed article",
link = false,
},
},
    needed = {
        image = "Symbol needed class.svg",
        tooltip = "Needed article",
    },
outline = {
outline = {
image = "Global thinking.svg",
image = "Global thinking.svg",
tooltip = "Outline",
tooltip = "Outline",
link = false,
},
},
portal = {
        portal = {
image = "Symbol portal class.svg",
image = "Symbol portal class.svg",
tooltip = "Portal",
tooltip = "Portal",
link = true,
},
},
project = {
project = {
image = "Symbol project class.svg",
image = "Symbol project class.svg",
tooltip = "Project page",
tooltip = "Project page",
link = false,
},
},
redirect = {
redirect = {
Line 317: Line 260:
image = "Symbol redirect vote2.svg",
image = "Symbol redirect vote2.svg",
tooltip = "Redirect",
tooltip = "Redirect",
link = true,
},
},
template = {
template = {
Line 323: Line 265:
image = "Symbol template class.svg",
image = "Symbol template class.svg",
tooltip = "Template",
tooltip = "Template",
link = false,
},
},
essay = {
essay = {
image = "Essay.svg",
image = "Essay.svg",
tooltip = "Essay",
tooltip = "Essay",
link = false,
},
},
na = {
na = {
image = "Symbol na class.svg",
image = "Symbol na class.svg",
tooltip = "Non-article page",
tooltip = "Non-article page",
link = true,
},
},
aa = {
aa = {
image = "Yes check.svg",
image = "Yes check.svg",
tooltip = "Audited article of limited subject matter",
tooltip = "Audited article of limited subject matter",
link = false,
},
},
da = {
da = {
image = "Symbol oppose vote.svg",
image = "Symbol oppose vote.svg",
tooltip = "Demoted article",
tooltip = "Demoted article",
link = false,
},
},
dyk = {
dyk = {
image = "Symbol question.svg",
image = "Symbol question.svg",
tooltip = "Did You Know?",
tooltip = "Did You Know?",
link = false,
},
},
dyk2 = {
dyk2 = {
image = "DYK questionmark icon.svg",
image = "DYK questionmark icon.svg",
tooltip = "Did You Know?",
tooltip = "Did You Know?",
link = false,
},
},
pr = {
pr = {
image = "Nuvola apps kedit.png",
image = "Nuvola apps kedit.png",
tooltip = "Peer review",
tooltip = "Peer review",
link = true,
},
},
ppr = {
ppr = {
image = "Nuvola apps kedit.png",
image = "Nuvola apps kedit.png",
tooltip = "Portal peer review",
tooltip = "Portal peer review",
link = true,
},
},
q = {
q = {
Line 369: Line 302:
image = "Symbol question.svg",
image = "Symbol question.svg",
tooltip = "Question",
tooltip = "Question",
link = false,
},
cleanup = {
image = "Edit-clear.svg",
tooltip = "Cleanup work",
link = false,
},
},
qi = {
qi = {
image = "Quality images logo.svg",
image = "Quality images logo.svg",
tooltip = "Quality image on Wikimedia Commons",
tooltip = "Quality image on Wikimedia Commons",
link = false,
},
},
vi = {
vi = {
image = "Valued image seal.svg",
image = "Valued image seal.svg",
tooltip = "Valued image on Wikimedia Commons",
tooltip = "Valued image on Wikimedia Commons",
link = false,
},
},
tfa = {
tfa = {
image = "Wikipedia-logo.svg",
image = "Wikipedia-logo.svg",
tooltip = "Today's Featured Article",
tooltip = "Today's Featured Article",
link = true,
},
},
tfl = {
tfl = {
image = "Wikipedia-logo.svg",
image = "Wikipedia-logo.svg",
tooltip = "Today's Featured List",
tooltip = "Today's Featured List",
link = true,
},
},
itn = {
itn = {
image = "Globe current.svg",
image = "Globe current.svg",
tooltip = "In The News",
tooltip = "In The News",
link = true,
},
},
otd = {
otd = {
image = "Nuvola apps date.svg",
image = "Nuvola apps date.svg",
tooltip = "On This Day",
tooltip = "On This Day",
link = true,
},
},
wikiproject = {
wikiproject = {
image = "People icon.svg",
image = "People icon.svg",
tooltip = "WikiProject",
tooltip = "WikiProject",
link = false,
},
goce = {
image = "Writing Magnifying.PNG",
tooltip = "Guild of Copy Editors",
link = true,
},
},
wikipedia = {
wikipedia = {
image = "Wikipedia-logo.svg",
image = "Wikipedia-logo.svg",
tooltip = "Wikipedia page",
tooltip = "Wikipedia page",
link = true,
},
},
commons = {
commons = {
image = "Commons-logo.svg",
image = "Commons-logo.svg",
tooltip = "Commons page",
tooltip = "Commons page",
link = false,
},
},
wikiquote = {
wikiquote = {
image = "Wikiquote-logo.svg",
image = "Wikiquote-logo.svg",
tooltip = "Wikiquote page",
tooltip = "Wikiquote page",
link = false,
},
},
wikiversity = {
wikiversity = {
image = "Wikiversity logo 2017.svg",
image = "Wikiversity logo 2017.svg",
tooltip = "Wikiversity page",
tooltip = "Wikiversity page",
link = true,
},
},
wikibooks = {
wikibooks = {
image = "Wikibooks-logo.svg",
image = "Wikibooks-logo.svg",
tooltip = "Wikibooks page",
tooltip = "Wikibooks page",
link = true,
},
},
wikisource = {
wikisource = {
image = "Wikisource-logo.svg",
image = "Wikisource-logo.svg",
tooltip = "Wikisource page",
tooltip = "Wikisource page",
link = true,
},
},
wiktionary = {
wiktionary = {
image = "Wiktionary-logo.svg",
image = "Wiktionary-logo.svg",
tooltip = "Wiktionary page",
tooltip = "Wiktionary page",
link = true,
},
},
wikinews = {
wikinews = {
image = "Wikinews-logo.svg",
image = "Wikinews-logo.svg",
tooltip = "Wikinews page",
tooltip = "Wikinews page",
link = true,
},
},
wikispecies = {
wikispecies = {
image = "Wikispecies-logo.svg",
image = "Wikispecies-logo.svg",
tooltip = "Wikispecies page",
tooltip = "Wikispecies page",
link = true,
},
},
wikidata = {
wikidata = {
image = "Wikidata-logo.svg",
image = "Wikidata-logo.svg",
tooltip = "Wikidata page",
tooltip = "Wikidata page",
link = false,
},
},
wikivoyage = {
wikivoyage = {
image = "Wikivoyage-logo.svg",
image = "Wikivoyage-logo.svg",
tooltip = "Wikivoyage page",
tooltip = "Wikivoyage page",
link = true,
},
},
meta = {
meta = {
image = "Wikimedia Community Logo.svg",
image = "Wikimedia Community Logo.svg",
tooltip = "Meta-wiki page",
tooltip = "Meta-wiki page",
link = false,
},
},
four = {
four = {
image = "Four Award.svg",
image = "Four Award.svg",
tooltip = "Four Award",
tooltip = "Four Award",
link = false,
},
},
million = {
million = {
image = "Million award logo.svg",
image = "Million award logo.svg",
tooltip = "Million Award",
tooltip = "Million Award",
link = true,
},
},
module = {
module = {
image = "Lua-logo-nolabel.svg",
image = "Lua-logo-nolabel.svg",
tooltip = "Module",
tooltip = "Module",
link = false,
},
},
vital = {
vital = {
image = "Círculos_Concéntricos.svg",
image = "Círculos_Concéntricos.svg",
tooltip = "Vital article",
tooltip = "Vital article",
link = false,
},
},
_DEFAULT = {
_DEFAULT = {
image = "Symbol question.svg",
image = "Symbol question.svg",
link = false,
}
}
}
}
Line 506: Line 404:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


-- Make aliases work the same as normal keys, and remove the "aliases" subtables.
-- Make aliases work the same as normal keys, and remove the "aliases" subtables.  
local ret= {}
for k, t in pairs(data) do
for code, iconData in pairs(data) do
if t.aliases then
iconData.canonicalCode = code
for i, alias in ipairs(t.aliases) do
if iconData.aliases then
data[alias] = t
for _, alias in ipairs(iconData.aliases) do
ret[alias] = iconData
end
end
iconData.aliases = nil
t.aliases = nil
end
end
ret[code] = iconData
data[k] = t
end
end


return ret
return data

Latest revision as of 15:36, 8 April 2022

Documentation for this module may be created at Module:Icon/data/doc

-- This module stores icon data for [[Module:Icon]].

--------------------------------------------------------------------------------
-- Icon data
--------------------------------------------------------------------------------

local data = {
	fa = {
		image = "Featured article star.svg",
		tooltip = "Featured article",
	},
	far = {
		image = "Cscr-star piece.png",
		tooltip = "Featured article review",
	},
	farc = {
		image = "Cscr-star piece.png",
		tooltip = "Featured article removal candidate",
	},
	ffa = {
		aliases = {"dfa"},
		image = "Featured article star - cross.svg",
		tooltip = "Former featured article",
	},
	fac = {
		aliases = {"fan"},
		image = "Cscr-candidate.svg",
		tooltip = "Featured article candidate",
	},
	ffac = {
		aliases = {"nofa"},
		image = "Featured article star - cross.svg",
		tooltip = "Failed featured article candidate",
	},
	fl = {
		image = "Featured article star.svg",
		tooltip = "Featured list",
	},
	flrc = {
		aliases = {"flr"},
		image = "Cscr-star piece.png",
		tooltip = "Featured list removal candidate",
	},
	ffl = {
		aliases = {"dfl"},
		image = "Cscr-featured-strike.svg",
		tooltip = "Former featured list",
	},
	flc = {
		aliases = {"fln"},
		image = "Cscr-candidate.svg",
		tooltip = "Featured list candidate",
	},
	fflc = {
		aliases = {"nofl"},
		image = "Cscr-former.svg",
		tooltip = "Failed featured list candidate",
	},
	a = {
		image = "Symbol a class.svg",
		tooltip = "A-Class article",
	},
	dac = {
		aliases = {"daa"},
		image = "Symbol unsupport A vote.svg",
		tooltip = "Demoted A-Class article",
	},
	acc = {
		aliases = {"acn", "aac"},
		image = "A candidate.svg",
		tooltip = "A-Class article candidate",
	},
	noac = {
		aliases = {"faac"},
		image = "Symbol unsupport A vote.svg",
		tooltip = "Failed A-Class article candidate",
	},
	ga = {
		image = "Symbol support vote.svg",
		tooltip = "Good article",
	},
	gar = {
		image = "GA Candidate Neutral vote(ChaosNil).svg",
		tooltip = "Good article reassessment",
	},
	dga = {
		image = "Symbol unsupport vote.svg",
		tooltip = "Delisted good article",
	},
	gan = {
		aliases = {"gac"},
		image = "GA candidate.svg",
		tooltip = "Good article nominee",
	},
	ga2 = {
		image = "Symbol neutral vote.svg",
		tooltip = "Good article, 2nd opinion",
	},
	gah = {
		image = "Symbol wait.svg",
		tooltip = "Good article on hold",
	},
	fgan = {
		aliases = {"noga", "gaf", "gf"},
		image = "Symbol oppose vote.svg",
		tooltip = "Failed good article nominee",
	},
	fp = {
		image = "Cscr-featured.svg",
		tooltip = "Featured picture",
	},
	fpc = {
		aliases = {"fpn"},
		image = "Cscr-candidate.svg",
		tooltip = "Featured picture candidate",
	},
	ffp = {
		image = "Cscr-former.svg",
		tooltip = "Former featured picture",
	},
	vp = {
		image = "ENWP VP Logo.svg",
		tooltip = "Valued picture",
	},
	vpc = {
		image = "Valued pics 1.svg",
		tooltip = "Valued picture candidate",
	},
	fs = {
		image = "Cscr-featured.svg",
		tooltip = "Featured sound",
	},
	ffs = {
		image = "Cscr-former.svg",
		tooltip = "Former featured sound",
	},
	fsc = {
		image = "Cscr-candidate.svg",
		tooltip = "Featured sound candidate",
	},
	fpo = {
		image = "Linecons big-star.svg",
		tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.",
	},
	fpor = {
		image = "Cscr-star piece.png",
		tooltip = "Featured portal review",
	},
	ffpo = {
		image = "Featured article star - cross.svg",
		tooltip = "Former featured portal",
	},
	fpoc = {
		image = "Cscr-candidate.svg",
		tooltip = "Featured portal candidate",
	},
	ft = {
		image = "Cscr-featuredtopic.svg",
		tooltip = "Featured topic",
	},
	ftrc = {
		image = "Cscr-star piece.png",
		tooltip = "Featured topic removal candidate",
	},
	fft = {
		aliases = {"dft"},
		image = "DFT candidate_cluster.svg",
		tooltip = "Former featured topic",
	},
	ftc = {
		aliases = {"ftn"},
		image = "FT candidate cluster.svg",
		tooltip = "Featured topic candidate",
	},
	gt = {
		image = "Support cluster.svg",
		tooltip = "Good topic",
	},
	gtrc = {
		image = "Symbol unsupport vote.svg",
		tooltip = "Good topic removal candidate",
	},
	gtc = {
		aliases = {"gtn"},
		image = "GA candidate cluster.svg",
		tooltip = "Good topic candidate",
	},
	bplus = {
		aliases = {"b+"},
		image = "Symbol bplus class.svg",
		tooltip = "Bplus-Class article",
	},
	b = {
		image = "Symbol b class.svg",
		tooltip = "B-Class article",
	},
	br = {
		aliases = {"bcr"},
		image = "Bclass-checklist.svg",
		tooltip = "B-Class review",
	},
	c = {
		image = "Symbol c class.svg",
		tooltip = "C-Class article",
	},
	start = {
		image = "Symbol start class.svg",
		tooltip = "Start-Class article",
	},
	stub = {
		image = "Symbol stub class.svg",
		tooltip = "Stub-Class article",
	},
	list = {
		aliases = {"comparison"},
		image = "Symbol list class.svg",
		tooltip = "List-Class article",
	},
	no = {
		image = "Crystal button cancel.svg",
		tooltip = "Unknown-Class article",
	},
	book = {
		image = "Symbol book class2.svg",
		tooltip = "Wikipedia book",
	},
	category = {
		aliases = {"cat", "categ"},
		image = "Symbol category class.svg",
		tooltip = "Category",
	},
	disambiguation = {
		aliases = {"dab", "disamb", "disambig"},
		image = "Symbol dab class.svg",
		tooltip = "Disambiguation page",
	},
	image = {
		aliases = {"file"},
		image = "Symbol file class.svg",
		tooltip = "File",
	},
    needed = {
        image = "Symbol needed class.svg",
        tooltip = "Needed article",
    },
	outline = {
		image = "Global thinking.svg",
		tooltip = "Outline",
	},
        portal = {
		image = "Symbol portal class.svg",
		tooltip = "Portal",
	},
	project = {
		image = "Symbol project class.svg",
		tooltip = "Project page",
	},
	redirect = {
		aliases = {"red", "redir"},
		image = "Symbol redirect vote2.svg",
		tooltip = "Redirect",
	},
	template = {
		aliases = {"temp", "templ"},
		image = "Symbol template class.svg",
		tooltip = "Template",
	},
	essay = {
		image = "Essay.svg",
		tooltip = "Essay",
	},
	na = {
		image = "Symbol na class.svg",
		tooltip = "Non-article page",
	},
	aa = {
		image = "Yes check.svg",
		tooltip = "Audited article of limited subject matter",
	},
	da = {
		image = "Symbol oppose vote.svg",
		tooltip = "Demoted article",
	},
	dyk = {
		image = "Symbol question.svg",
		tooltip = "Did You Know?",
	},
	dyk2 = {
		image = "DYK questionmark icon.svg",
		tooltip = "Did You Know?",
	},
	pr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Peer review",
	},
	ppr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Portal peer review",
	},
	q = {
		aliases = {"question"},
		image = "Symbol question.svg",
		tooltip = "Question",
	},
	qi = {
		image = "Quality images logo.svg",
		tooltip = "Quality image on Wikimedia Commons",
	},
	vi = {
		image = "Valued image seal.svg",
		tooltip = "Valued image on Wikimedia Commons",
	},
	tfa = {
		image = "Wikipedia-logo.svg",
		tooltip = "Today's Featured Article",
	},
	tfl = {
		image = "Wikipedia-logo.svg",
		tooltip = "Today's Featured List",
	},
	itn = {
		image = "Globe current.svg",
		tooltip = "In The News",
	},
	otd = {
		image = "Nuvola apps date.svg",
		tooltip = "On This Day",
	},
	wikiproject = {
		image = "People icon.svg",
		tooltip = "WikiProject",
	},
	wikipedia = {
		image = "Wikipedia-logo.svg",
		tooltip = "Wikipedia page",
	},
	commons = {
		image = "Commons-logo.svg",
		tooltip = "Commons page",
	},
	wikiquote = {
		image = "Wikiquote-logo.svg",
		tooltip = "Wikiquote page",
	},
	wikiversity = {
		image = "Wikiversity logo 2017.svg",
		tooltip = "Wikiversity page",
	},
	wikibooks = {
		image = "Wikibooks-logo.svg",
		tooltip = "Wikibooks page",
	},
	wikisource = {
		image = "Wikisource-logo.svg",
		tooltip = "Wikisource page",
	},
	wiktionary = {
		image = "Wiktionary-logo.svg",
		tooltip = "Wiktionary page",
	},
	wikinews = {
		image = "Wikinews-logo.svg",
		tooltip = "Wikinews page",
	},
	wikispecies = {
		image = "Wikispecies-logo.svg",
		tooltip = "Wikispecies page",
	},
	wikidata = {
		image = "Wikidata-logo.svg",
		tooltip = "Wikidata page",
	},
	wikivoyage = {
		image = "Wikivoyage-logo.svg",
		tooltip = "Wikivoyage page",
	},
	meta = {
		image = "Wikimedia Community Logo.svg",
		tooltip = "Meta-wiki page",
	},
	four = {
		image = "Four Award.svg",
		tooltip = "Four Award",
	},
	million = {
		image = "Million award logo.svg",
		tooltip = "Million Award",
	},
	module = {
		image = "Lua-logo-nolabel.svg",
		tooltip = "Module",
	},
	vital = {
		image = "Círculos_Concéntricos.svg",
		tooltip = "Vital article",
	},
	_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