Idi na sadržaj

Modul:Icon/data

S Wikipedije, slobodne enciklopedije

Dokumentaciju za ovaj modul možete napraviti na stranici Modul:Icon/data/dok

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

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

local data = {
	fa = {
		aliases = {"oč"},
		image = "Featured article star.svg",
		tooltip = "Odabrani članak",
	},
	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 = {
		aliases = {"dč"},
		image = "Symbol support vote.svg",
		tooltip = "Dobar članak",
	},
	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 = {
		aliases = {"oz"},
		image = "Cscr-featured.svg",
		tooltip = "Odabrani zvuk",
	},
	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 članak",
	},
	br = {
		aliases = {"bcr"},
		image = "Bclass-checklist.svg",
		tooltip = "B-Class review",
	},
	c = {
		image = "Symbol c class.svg",
		tooltip = "C-Class članak",
	},
	start = {
		image = "Symbol start class.svg",
		tooltip = "Start-Class članak",
	},
	stub = {
		image = "Symbol stub class.svg",
		tooltip = "Stub-Class članak",
	},
	list = {
		aliases = {"comparison"},
		image = "Symbol list class.svg",
		tooltip = "List-Class article",
	},
	no = {
		image = "Crystal button cancel.svg",
		tooltip = "Unknown-Class article",
	},
	book = {
		aliases = {"knjiga"},
		image = "Symbol book class2.svg",
		tooltip = "Wikipedia knjiga",
	},
	category = {
		aliases = {"cat", "categ", "kategorija"},
		image = "Folder Hexagonal Icon.svg",
		tooltip = "Kategorija",
	},
	disambiguation = {
		aliases = {"dab", "disamb", "disambig", "čvor"},
		image = "Symbol dab class.svg",
		tooltip = "Čvor-stranica",
	},
	image = {
		aliases = {"file", "slika", "datoteka"},
		image = "Video-x-generic.svg",
		tooltip = "Datoteka",
	},
    needed = {
        image = "Symbol needed class.svg",
        tooltip = "Needed article",
    },
	portal = {
		image = "Portal-puzzle.svg",
		tooltip = "Portal",
	},
	project = {
		aliases = {"projekt"},
		image = "Symbol information vote.svg",
		tooltip = "Stranica projekta",
	},
	redirect = {
		aliases = {"red", "redir", "preusmjerenje"},
		image = "Symbol redirect vote2.svg",
		tooltip = "Preusmjerenje",
	},
	template = {
		aliases = {"temp", "templ", "šablon"},
		image = "Symbol template class.svg",
		tooltip = "Šablon",
	},
	essay = {
		image = "Essay.svg",
		tooltip = "Essay",
	},
	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 = {
		aliases = {"jlz"},
		image = "Symbol question.svg",
		tooltip = "Jeste li znali?",
	},
	dyk2 = {
		aliases = {"jlz2"},
		image = "DYK questionmark icon.svg",
		tooltip = "Jeste li znali?",
	},
	pr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Peer review",
	},
	ppr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Portal peer review",
	},
	q = {
		aliases = {"question", "pitanje"},
		image = "Symbol question.svg",
		tooltip = "Pitanje",
	},
	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 = {
		aliases = {"u vijestima"},
		image = "Globe current.svg",
		tooltip = "U vijestima",
	},
	otd = {
		aliases = {"ndd"},
		image = "Nuvola apps date.svg",
		tooltip = "Na današnji dan",
	},
	wikiproject = {
		aliases = {"wikiprojekt"},
		image = "People icon.svg",
		tooltip = "Wikiprojekt",
	},
	wikipedia = {
		image = "Wikipedia-logo.svg",
		tooltip = "Stranica na Wikipediji",
	},
	commons = {
		image = "Commons-logo.svg",
		tooltip = "Stranica na Commonsu",
	},
	wikiquote = {
		aliases = {"wikicitat"},
		image = "Wikiquote-logo.svg",
		tooltip = "Stranica na Wikicitatu",
	},
	wikiversity = {
		aliases = {"wikiverzitet"},
		image = "Wikiversity-logo.svg",
		tooltip = "Stranica na Wikiverzitetu",
	},
	wikibooks = {
		aliases = {"wikiknjige"},
		image = "Wikibooks-logo.svg",
		tooltip = "Stranica na Wikiknjigama",
	},
	wikisource = {
		aliases = {"wikizvor"},
		image = "Wikisource-logo.svg",
		tooltip = "Stranica na Wikizvoru",
	},
	wiktionary = {
		aliases = {"wikirječnik"},
		image = "Wiktionary-logo.svg",
		tooltip = "Stranica na Wikirječniku",
	},
	wikinews = {
		aliases = {"wikivijesti"},
		image = "Wikinews-logo.svg",
		tooltip = "Stranica na Wikivijestima",
	},
	wikispecies = {
		aliases = {"wikivrste"},
		image = "Wikispecies-logo.svg",
		tooltip = "Stranica na Wikivrstama",
	},
	wikidata = {
		aliases = {"wikipodaci"},
		image = "Wikidata-logo.svg",
		tooltip = "Stranica na Wikipodacima",
	},
	wikivoyage = {
		aliases = {"wikiputovanje"},
		image = "Wikivoyage-logo.svg",
		tooltip = "Stranica na Wikiputovanju",
	},
	meta = {
		image = "Wikimedia Community Logo.svg",
		tooltip = "Stranica na Meti",
	},
	four = {
		aliases = {"četiri"},
		image = "Four Award.svg",
		tooltip = "Četiri Nagrada",
	},
	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