মডিউল:আইকন/উপাত্ত

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

This module stores icon data for মডিউল:আইকন.

আইকন যোগ করার পদ্ধতি[সম্পাদনা]

To add a new icon, add a table in the following format:

    code = {
        image = "My image name.xyz",
        tooltip = "My tooltip text",
    },

If you want to add aliases for the code, use the following format instead:

    code = {
        aliases = {"alias1", "alias2"},
        image = "My image name.xyz",
        tooltip = "My tooltip text",
    },

If any of the text you add has double quotes in, you will need to escape it with backslashes like this: "My \"quoted\" image.svg".

Please make sure that any codes and aliases that you add don't match any existing codes or aliases. If they do, one of them will be overwritten with the other (and it's not possible to say for certain which will be overwritten with which).

You can omit the tooltip text if you want, but it is recommended that you add it.

আইকন মুছে ফেলার পদ্ধতি[সম্পাদনা]

Removing icons is fairly easy. Just remove the relevant entry from the data table. You can't remove the _DEFAULT entry, as মডিউল:Icon relies on it being there.

-- এই মডিউলটি [[মডিউল: আইকন]] এর জন্য আইকন উপাত্ত সংরক্ষণ করে।

--------------------------------------------------------------------------------
-- আইকন উপাত্ত শুরু
--------------------------------------------------------------------------------

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 = "Cscr-former.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 = "নির্বাচিত ছবি প্রার্থী",
	},
	ffp = {
		image = "Cscr-former.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 = "Linecons big-star.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 = "Symbol file class.svg",
		tooltip = "ফাইল",
	},
    needed = {
        image = "Symbol needed class.svg",
        tooltip = "প্রয়োজনীয় নিবন্ধ",
    },
	outline = {
		image = "Global thinking.svg",
		tooltip = "রূপরেখা",
	},
        portal = {
		image = "Symbol portal class.svg",
		tooltip = "প্রবেশদ্বার",
	},
	project = {
		image = "Symbol project class.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 na class.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 = "আপনি কি জানেন?",
	},
	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 = "আজকের নির্বাচিত নিবন্ধ",
	},
	tfl = {
		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 2017.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 = "চার পুরস্কার",
	},
	million = {
		image = "Million award logo.svg",
		tooltip = "মিলিয়ন পুরস্কার",
	},
	module = {
		image = "Lua-logo-nolabel.svg",
		tooltip = "মডিউল",
	},
	vital = {
		image = "Círculos_Concéntricos.svg",
		tooltip = "গুরুত্বপূর্ণ নিবন্ধ",
	},
	_DEFAULT = {
		image = "Symbol question.svg",
	}
}

--------------------------------------------------------------------------------
-- আইকন উপাত্ত শেষ
--------------------------------------------------------------------------------

-- 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