Lompat ke isi

Modul:Icon/data

Halaman yang dilindungi
Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

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

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

local data = {
	fa = {
		image = "Featured article star.svg",
		tooltip = "Artikel pilihan",
		link = true,
	},
	far = {
		image = "Cscr-star piece.png",
		tooltip = "Tinjauan artikel pilihan",
		link = true,
	},
	farc = {
		image = "Cscr-star piece.png",
		tooltip = "Kandidat pencabutan artikel pilihan",
		link = true,
	},
	ffa = {
		aliases = {"dfa"},
		image = "Featured article star - cross.svg",
		tooltip = "Mantan artikel pilihan",
		link = true,
	},
	fac = {
		aliases = {"fan"},
		image = "Cscr-candidate.svg",
		tooltip = "Kandidat artikel pilihan",
		link = true,
	},
	ffac = {
		aliases = {"nofa"},
		image = "Cscr-former.svg",
		tooltip = "Mantan kandidat artikel pilihan",
		link = true,
	},
	fl = {
		image = "Featured article star.svg",
		tooltip = "Daftar pilihan",
		link = true,
	},
	flrc = {
		aliases = {"flr"},
		image = "Cscr-star piece.png",
		tooltip = "Kandidat pencabutan daftar pilihan",
		link = true,
	},
	ffl = {
		aliases = {"dfl"},
		image = "Featured article star - cross.svg",
		tooltip = "Mantan daftar pilihan",
		link = true,
	},
	flc = {
		aliases = {"fln"},
		image = "Cscr-candidate.svg",
		tooltip = "Kandidat daftar pilihan",
		link = true,
	},
	fflc = {
		aliases = {"nofl"},
		image = "Cscr-former.svg",
		tooltip = "Mantan kandidat daftar pilihan",
		link = true,
	},
	a = {
		image = "Symbol a class.svg",
		tooltip = "Artikel kelas A",
		link = true,
	},
	admin = {
		aliases = {"mop"},
		image = "Wikipedia Administrator.svg",
		tooltip = "Pengurus",
		link = true,
	},
	dac = {
		aliases = {"daa"},
		image = "Symbol unsupport A vote.svg",
		tooltip = "Artikel kelas A yang diturunkan statusnya",
		link = true,
	},
	acc = {
		aliases = {"acn", "aac"},
		image = "A candidate.svg",
		tooltip = "Kandidat artikel kelas A",
		link = true,
	},
	noac = {
		aliases = {"faac"},
		image = "Symbol unsupport A vote.svg",
		tooltip = "Gagal menjadi kandidat artikel kelas A",
		link = true,
	},
	ga = {
		image = "Symbol support vote.svg",
		tooltip = "Artikel bagus",
		link = false,
	},
	gar = {
		image = "GA Candidate Neutral vote(ChaosNil).svg",
		tooltip = "Penilaian ulang artikel bagus",
		link = false,
	},
	dga = {
		image = "Symbol unsupport vote.svg",
		tooltip = "Artikel bagus yang dicabut",
		link = false,
	},
	gan = {
		aliases = {"gac"},
		image = "GA candidate.svg",
		tooltip = "Kandidat artikel bagus",
		link = false,
	},
	ga2 = {
		image = "Symbol neutral vote.svg",
		tooltip = "Artikel bagus, pendapat kedua",
		link = false,
	},
	gah = {
		image = "Symbol wait.svg",
		tooltip = "Artikel bagus ditangguhkan",
		link = false,
	},
	fgan = {
		aliases = {"noga", "gaf", "gf"},
		image = "Symbol oppose vote.svg",
		tooltip = "Mantan kandidat artikel bagus",
		link = false,
	},
	fp = {
		image = "Cscr-featured.svg",
		tooltip = "Gambar pilihan",
		link = true,
	},
	fpc = {
		aliases = {"fpn"},
		image = "Cscr-candidate.svg",
		tooltip = "Kandidat gambar pilihan",
		link = true,
	},
	ffp = {
		image = "Cscr-former.svg",
		tooltip = "Mantan gambar pilihan",
		link = true,
	},
	vp = {
		image = "ENWP VP Logo.svg",
		tooltip = "Gambar bernilai",
		link = true,
	},
	vpc = {
		image = "Valued pics 1.svg",
		tooltip = "Kandidat gambar bernilai",
		link = true,
	},
	fs = {
		image = "Cscr-featured.svg",
		tooltip = "Suara pilihan",
		link = true,
	},
	ffs = {
		image = "Cscr-former.svg",
		tooltip = "Mantan suara pilihan",
		link = true,
	},
	fsc = {
		image = "Cscr-candidate.svg",
		tooltip = "Kandidat suara pilihan",
		link = true,
	},
	fpo = {
		image = "Linecons big-star.svg",
		tooltip = "Sebelum proses portal pilihan dihentikan pada tahun 2017, ini ditetapkan sebagai portal pilihan.",
		link = true,
	},
	fpor = {
		image = "Cscr-star piece.png",
		tooltip = "Tinjauan portal pilihan",
		link = true,
	},
	ffpo = {
		image = "Featured article star - cross.svg",
		tooltip = "Mantan portal pilihan",
		link = true,
	},
	fpoc = {
		image = "Cscr-candidate.svg",
		tooltip = "Kandidat portal pilihan",
		link = true,
	},
	ft = {
		image = "Cscr-featuredtopic.svg",
		tooltip = "Topik pilihan",
		link = true,
	},
	ftrc = {
		image = "Cscr-star piece.png",
		tooltip = "Kandidat pencabutan topik pilihan",
		link = true,
	},
	fft = {
		aliases = {"dft"},
		image = "DFT candidate_cluster.svg",
		tooltip = "Mantan topik pilihan",
		link = true,
	},
	ftc = {
		aliases = {"ftn"},
		image = "FT candidate cluster.svg",
		tooltip = "Kandidat topik pilihan",
		link = false,
	},
	gt = {
		image = "Support cluster.svg",
		tooltip = "Topik bagus",
		link = false,
	},
	gtrc = {
		image = "Symbol unsupport vote.svg",
		tooltip = "Kandidat pencabutan topik bagus",
		link = false,
	},
	gtc = {
		aliases = {"gtn"},
		image = "GA candidate cluster.svg",
		tooltip = "Kandidat topik bagus",
		link = false,
	},
	bplus = {
		aliases = {"b+"},
		image = "Symbol bplus class.svg",
		tooltip = "Artikel kelas B-Plus",
		link = true,
	},
	b = {
		image = "Symbol b class.svg",
		tooltip = "Artikel kelas B",
		link = true,
	},
	br = {
		aliases = {"bcr"},
		image = "Bclass-checklist.svg",
		tooltip = "Tinjauan kelas B",
		link = true,
	},
	c = {
		image = "Symbol c class.svg",
		tooltip = "Artikel kelas C",
		link = true,
	},
	start = {
		image = "Symbol start class.svg",
		tooltip = "Artikel kelas Awal",
		link = true,
	},
	stub = {
		image = "Symbol stub class.svg",
		tooltip = "Artikel kelas Rintisan",
		link = true,
	},
	list = {
		aliases = {"comparison"},
		image = "Symbol list class.svg",
		tooltip = "Artikel kelas Daftar",
		link = false,
	},
	no = {
		image = "Crystal button cancel.svg",
		tooltip = "Artikel kelas Tidak Diketahui",
		link = true,
	},
	book = {
		image = "Symbol book class2.svg",
		tooltip = "Buku Wikipedia",
		link = true,
	},
	category = {
		aliases = {"cat", "categ"},
		image = "Symbol category class.svg",
		tooltip = "Kategori",
		link = false,
	},
	disambiguation = {
		aliases = {"dab", "disamb", "disambig"},
		image = "Symbol dab class.svg",
		tooltip = "Halaman disambiguasi",
		link = true,
	},
	image = {
		aliases = {"file"},
		image = "Symbol file class.svg",
		tooltip = "Berkas",
		link = true,
	},
	needed = {
		image = "Symbol needed class.svg",
		tooltip = "Artikel yang diperlukan",
		link = false,
	},
	outline = {
		image = "Global thinking.svg",
		tooltip = "Bagan",
		link = false,
	},
	portal = {
		image = "Symbol portal class.svg",
		tooltip = "Portal",
		link = true,
	},
	project = {
		image = "Symbol project class.svg",
		tooltip = "Halaman proyek",
		link = false,
	},
	redirect = {
		aliases = {"red", "redir"},
		image = "Symbol redirect vote2.svg",
		tooltip = "Pengalihan",
		link = true,
	},
	template = {
		aliases = {"temp", "templ"},
		image = "Symbol template class pink.svg",
		tooltip = "Templat",
		link = false,
	},
	essay = {
		image = "Essay.svg",
		tooltip = "Esai",
		link = false,
	},
	na = {
		image = "Symbol na class.svg",
		tooltip = "Halaman non-artikel",
		link = true,
	},
	aa = {
		image = "Yes check.svg",
		tooltip = "Artikel teraudit dengan cakupan subjek terbatas",
		link = false,
	},
	da = {
		image = "Symbol oppose vote.svg",
		tooltip = "Artikel yang diturunkan statusnya",
		link = false,
	},
	dyk = {
		image = "Symbol question.svg",
		tooltip = "Tahukah Anda?",
		link = false,
	},
	dyk2 = {
		image = "DYK questionmark icon.svg",
		tooltip = "Tahukah Anda?",
		link = false,
	},
	pr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Tinjauan sejawat",
		link = true,
	},
	ppr = {
		image = "Nuvola apps kedit.png",
		tooltip = "Tinjauan sejawat portal",
		link = true,
	},
	q = {
		aliases = {"question"},
		image = "Symbol question.svg",
		tooltip = "Pertanyaan",
		link = false,
	},
	cleanup = {
		image = "Edit-clear.svg",
		tooltip = "Pekerjaan pembersihan",
		link = false,
	},
	qi = {
		image = "Quality images logo.svg",
		tooltip = "Gambar berkualitas di Wikimedia Commons",
		link = false,
	},
	vi = {
		image = "Valued image seal.svg",
		tooltip = "Gambar bernilai di Wikimedia Commons",
		link = false,
	},
	tfa = {
		image = "Wikipedia-logo.svg",
		tooltip = "Artikel Pilihan Hari Ini",
		link = true,
	},
	tfl = {
		image = "Wikipedia-logo.svg",
		tooltip = "Daftar Pilihan Hari Ini",
		link = true,
	},
	itn = {
		image = "Globe current.svg",
		tooltip = "Peristiwa Terkini",
		link = true,
	},
	otd = {
		image = "Nuvola apps date.svg",
		tooltip = "Hari Ini dalam Sejarah",
		link = true,
	},
	wikiproject = {
		image = "People icon.svg",
		tooltip = "ProyekWiki",
		link = false,
	},
	goce = {
		image = "Writing Magnifying.PNG",
		tooltip = "Serikat Penyunting Bahasa",
		link = true,
	},
	wikipedia = {
		image = "Wikipedia-logo.svg",
		tooltip = "Halaman Wikipedia",
		link = true,
	},
	commons = {
		image = "Commons-logo.svg",
		tooltip = "Halaman Commons",
		link = true,
	},
	wikiquote = {
		image = "Wikiquote-logo.svg",
		tooltip = "Halaman Wikiquote",
		link = false,
	},
	wikiversity = {
		image = "Wikiversity logo 2017.svg",
		tooltip = "Halaman Wikiversitas",
		link = true,
	},
	wikibooks = {
		image = "Wikibooks-logo.svg",
		tooltip = "Halaman Wikibuku",
		link = true,
	},
	wikisource = {
		image = "Wikisource-logo.svg",
		tooltip = "Halaman Wikisource",
		link = true,
	},
	wiktionary = {
		image = "Wiktionary-logo.svg",
		tooltip = "Halaman Wiktionary",
		link = true,
	},
	wikinews = {
		image = "Wikinews-logo.svg",
		tooltip = "Halaman Wikiberita",
		link = true,
	},
	wikispecies = {
		image = "Wikispecies-logo.svg",
		tooltip = "Halaman Wikispesies",
		link = true,
	},
	wikidata = {
		image = "Wikidata-logo.svg",
		tooltip = "Halaman Wikidata",
		link = false,
	},
	wikivoyage = {
		image = "Wikivoyage-logo.svg",
		tooltip = "Halaman Wikivoyage",
		link = true,
	},
	 mediawiki = {
		 image = "MediaWiki-2020-icon.svg",
		 tooltip = "MediaWiki",
		 link = true,
	 },
	 phabricator = {
		 aliases = {"phab"},
		 image = "Favicon-Phabricator-WM.svg",
		 tooltip = "Phabricator",
		 link = false,
	 },
	 wikitech = {
		 image = "Wikitech-2021-blue-icon.svg",
		 tooltip = "Wikitech",
		 link = true,
	 },
	meta = {
		image = "Wikimedia Community Logo.svg",
		tooltip = "Halaman Meta-wiki",
		link = false,
	},
	four = {
		aliases = {"4a"},
		image = "Four Award with draft icon.svg",
		tooltip = "Penghargaan Empat",
		link = false,
	},
	million = {
		image = "Million award logo.svg",
		tooltip = "Penghargaan Sejuta",
		link = true,
	},
	module = {
		image = "Lua-logo-nolabel.svg",
		tooltip = "Modul",
		link = false,
	},
	vital = {
		image = "Círculos_Concéntricos.svg",
		tooltip = "Artikel penting",
		link = false,
	},
	potd  = {
		image = "Wikipedia-logo.svg",
		tooltip = "Gambar Hari Ini",
		link = true,
	},
	draft = {
		image = "Symbol draft class.svg",
		tooltip = "Artikel kelas Draf",
		link = true,
	},
	user = {
		image = "Symbol user class.svg",
		tooltip = "Artikel kelas Pengguna",
		link = true,
	},
	info = {
		image = "Information icon.svg",
		tooltip = "Informasi",
		link = false,
	},
	discussionnotificaion = {
		image = "Echo edit-user-talk icon.svg",
		tooltip = "Diskusi",
		link = true,
	},
	alert = {
		image = "OOjs UI icon alert.svg",
		tooltip = "Peringatan hitam",
		link = true,
	},
	['alert-imagewarning'] = {
		image = "OOjs UI icon alert image warning.svg",
		tooltip = "Peringatan",
		link = true,
	},
	['alert-constructive'] = {
		image = "OOjs UI icon alert-constructive.svg",
		tooltip = "Peringatan hijau",
		link = true,
	},
	['alert-blackred'] = {
		image = "OOjs UI icon alert destructive black-darkred.svg",
		tooltip = "Peringatan hitam, putih, dan merah",
		link = true,
	},
	barnstar2 = {
		image = "Original Barnstar Hires.svg",
		tooltip = "Bintang kehormatan asli resolusi tinggi",
		link = false,
	},
	barnstar = {
		image = "Original Barnstar.png",
		tooltip = "Bintang kehormatan asli",
		link = false,
	},
	gareview = {
		aliases = {"ganrv"},
		image = "Good article review icon.svg",
		tooltip = "Tinjauan artikel bagus",
		link = false,
	},
	new = {
		aliases = {"stork"},
		image = "Symbol Stork.svg",
		tooltip = "Baru",
		link = true
	},
	_DEFAULT = {
		image = "Symbol question.svg",
		link = false,
	}
}

--------------------------------------------------------------------------------
-- End icon data
--------------------------------------------------------------------------------

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

return ret