Módulu:Icon/data
La documentación pa esti módulu pue crease en Módulu:Icon/data/usu
-- This module stores icon data for [[Module:Icon]].
--------------------------------------------------------------------------------
-- Icon data
--------------------------------------------------------------------------------
local data = {
fa = {
image = "Featured article star.svg",
tooltip = "Artículu destacáu",
},
far = {
image = "Cscr-star piece.png",
tooltip = "Revisión d'artículu destacáu",
},
farc = {
image = "Cscr-star piece.png",
tooltip = "Artículu destacáu candidatu a desaniciu",
},
ffa = {
aliases = {"dfa"},
image = "Featured article star - cross.svg",
tooltip = "Foi artículu destacáu",
},
fac = {
aliases = {"fan"},
image = "Cscr-candidate.svg",
tooltip = "Candidatu a artículu destacáu",
},
ffac = {
aliases = {"nofa"},
image = "Featured article star - cross.svg",
tooltip = "Candidatu refugáu a artículu destacáu",
},
fl = {
image = "Featured article star.svg",
tooltip = "Llista destacada",
},
flrc = {
aliases = {"flr"},
image = "Cscr-star piece.png",
tooltip = "Llista destacada candidata a desaniciu",
},
ffl = {
aliases = {"dfl"},
image = "Cscr-featured-strike.svg",
tooltip = "Foi llista destacada",
},
flc = {
aliases = {"fln"},
image = "Cscr-candidate.svg",
tooltip = "Candidata a llista destacada",
},
fflc = {
aliases = {"nofl"},
image = "Cscr-former.svg",
tooltip = "Candidata refugada a llista destacada",
},
a = {
image = "Symbol a class.svg",
tooltip = "Artículu de clase A",
},
dac = {
aliases = {"daa"},
image = "Symbol unsupport A vote.svg",
tooltip = "Artículu de clase A degradáu",
},
acc = {
aliases = {"acn", "aac"},
image = "A candidate.svg",
tooltip = "Candidatu a artículu de clase A",
},
noac = {
aliases = {"faac"},
image = "Symbol unsupport A vote.svg",
tooltip = "Candidatu refugáu a artículu de clase A",
},
ga = {
image = "Symbol support vote.svg",
tooltip = "Bon artículu",
},
gar = {
image = "GA Candidate Neutral vote(ChaosNil).svg",
tooltip = "Reevaluación de bon artículu",
},
dga = {
image = "Symbol unsupport vote.svg",
tooltip = "Bon artículu degradáu",
},
gan = {
aliases = {"gac"},
image = "GA candidate.svg",
tooltip = "Candidatu a bon artículu",
},
ga2 = {
image = "Symbol neutral vote.svg",
tooltip = "Bon artículu, 2ª opinión",
},
gah = {
image = "Symbol wait.svg",
tooltip = "Bon artículu conxeláu",
},
fgan = {
aliases = {"noga", "gaf", "gf"},
image = "Symbol oppose vote.svg",
tooltip = "Candidatu refugáu a bon artículu",
},
fp = {
image = "Cscr-featured.svg",
tooltip = "Imaxe destacada",
},
fpc = {
aliases = {"fpn"},
image = "Cscr-candidate.svg",
tooltip = "Candidata a imaxe destacada",
},
ffp = {
image = "Cscr-former.svg",
tooltip = "Foi imaxe destacada",
},
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 = "Llibru de Wikipedia",
},
category = {
aliases = {"cat", "categ", "categoría"},
image = "Folder Hexagonal Icon.svg",
tooltip = "Categoría",
},
disambiguation = {
aliases = {"dab", "disamb", "disambig"},
image = "Symbol dab class.svg",
tooltip = "Páxina de dixebra",
},
image = {
aliases = {"file"},
image = "Video-x-generic.svg",
tooltip = "File",
},
needed = {
image = "Symbol needed class.svg",
tooltip = "Needed article",
},
portal = {
image = "Portal-puzzle.svg",
tooltip = "Portal",
},
project = {
image = "Symbol information vote.svg",
tooltip = "Project page",
},
redirect = {
aliases = {"red", "redir"},
image = "Symbol redirect vote2.svg",
tooltip = "Redireición",
},
template = {
aliases = {"temp", "templ"},
image = "Symbol template class.svg",
tooltip = "Plantía",
},
essay = {
image = "Essay.svg",
tooltip = "Ensayu",
},
na = {
image = "Symbol neutral vote.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 = "¿Sabíeslo?",
},
dyk2 = {
image = "DYK questionmark icon.svg",
tooltip = "¿Sabíeslo?",
},
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 = "Entruga",
},
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 = "Nes noticies",
},
otd = {
image = "Nuvola apps date.svg",
tooltip = "Un día como güei",
},
wikiproject = {
image = "People icon.svg",
tooltip = "WikiProyeutu",
},
wikipedia = {
image = "Wikipedia-logo.svg",
tooltip = "Páxina en Wikipedia",
},
commons = {
image = "Commons-logo.svg",
tooltip = "Páxina en Commons",
},
wikiquote = {
image = "Wikiquote-logo.svg",
tooltip = "Páxina en Wikicites",
},
wikiversity = {
image = "Wikiversity-logo.svg",
tooltip = "Páxina en Wikiversidá",
},
wikibooks = {
image = "Wikibooks-logo.svg",
tooltip = "Páxina en Wikillibros",
},
wikisource = {
image = "Wikisource-logo.svg",
tooltip = "Páxina en Wikiesbilla",
},
wiktionary = {
image = "Wiktionary-logo.svg",
tooltip = "Páxina en Wikcionariu",
},
wikinews = {
image = "Wikinews-logo.svg",
tooltip = "Páxina en Wikinoticies",
},
wikispecies = {
image = "Wikispecies-logo.svg",
tooltip = "Páxina en Wikispecies",
},
wikidata = {
image = "Wikidata-logo.svg",
tooltip = "Páxina en Wikidata",
},
wikivoyage = {
image = "Wikivoyage-logo.svg",
tooltip = "Páxina en Wikiviaxes",
},
meta = {
image = "Wikimedia Community Logo.svg",
tooltip = "Páxina en Meta-wiki",
},
four = {
image = "Four Award.svg",
tooltip = "Four Award",
},
million = {
image = "Million award logo.svg",
tooltip = "Million Award",
},
_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