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

  1. -- This module stores icon data for [[Module:Icon]].
  2.  
  3. --------------------------------------------------------------------------------
  4. -- Icon data
  5. --------------------------------------------------------------------------------
  6.  
  7. local data = {
  8. fa = {
  9. image = "Featured article star.svg",
  10. tooltip = "Featured article",
  11. },
  12. far = {
  13. image = "Cscr-star piece.png",
  14. tooltip = "Featured article review",
  15. },
  16. farc = {
  17. image = "Cscr-star piece.png",
  18. tooltip = "Featured article removal candidate",
  19. },
  20. ffa = {
  21. aliases = {"dfa"},
  22. image = "Featured article star - cross.svg",
  23. tooltip = "Former featured article",
  24. },
  25. fac = {
  26. aliases = {"fan"},
  27. image = "Cscr-candidate.svg",
  28. tooltip = "Featured article candidate",
  29. },
  30. ffac = {
  31. aliases = {"nofa"},
  32. image = "Featured article star - cross.svg",
  33. tooltip = "Failed featured article candidate",
  34. },
  35. fl = {
  36. image = "Featured article star.svg",
  37. tooltip = "Featured list",
  38. },
  39. flrc = {
  40. aliases = {"flr"},
  41. image = "Cscr-star piece.png",
  42. tooltip = "Featured list removal candidate",
  43. },
  44. ffl = {
  45. aliases = {"dfl"},
  46. image = "Cscr-featured-strike.svg",
  47. tooltip = "Former featured list",
  48. },
  49. flc = {
  50. aliases = {"fln"},
  51. image = "Cscr-candidate.svg",
  52. tooltip = "Featured list candidate",
  53. },
  54. fflc = {
  55. aliases = {"nofl"},
  56. image = "Cscr-former.svg",
  57. tooltip = "Failed featured list candidate",
  58. },
  59. a = {
  60. image = "Symbol a class.svg",
  61. tooltip = "A-Class article",
  62. },
  63. dac = {
  64. aliases = {"daa"},
  65. image = "Symbol unsupport A vote.svg",
  66. tooltip = "Demoted A-Class article",
  67. },
  68. acc = {
  69. aliases = {"acn", "aac"},
  70. image = "A candidate.svg",
  71. tooltip = "A-Class article candidate",
  72. },
  73. noac = {
  74. aliases = {"faac"},
  75. image = "Symbol unsupport A vote.svg",
  76. tooltip = "Failed A-Class article candidate",
  77. },
  78. ga = {
  79. image = "Symbol support vote.svg",
  80. tooltip = "Good article",
  81. },
  82. gar = {
  83. image = "GA Candidate Neutral vote(ChaosNil).svg",
  84. tooltip = "Good article reassessment",
  85. },
  86. dga = {
  87. image = "Symbol unsupport vote.svg",
  88. tooltip = "Delisted good article",
  89. },
  90. gan = {
  91. aliases = {"gac"},
  92. image = "GA candidate.svg",
  93. tooltip = "Good article nominee",
  94. },
  95. ga2 = {
  96. image = "Symbol neutral vote.svg",
  97. tooltip = "Good article, 2nd opinion",
  98. },
  99. gah = {
  100. image = "Symbol wait.svg",
  101. tooltip = "Good article on hold",
  102. },
  103. fgan = {
  104. aliases = {"noga", "gaf", "gf"},
  105. image = "Symbol oppose vote.svg",
  106. tooltip = "Failed good article nominee",
  107. },
  108. fp = {
  109. image = "Cscr-featured.svg",
  110. tooltip = "Featured picture",
  111. },
  112. ffp = {
  113. image = "Cscr-former.svg",
  114. tooltip = "Former featured picture",
  115. },
  116. vp = {
  117. image = "ENWP VP Logo.svg",
  118. tooltip = "Valued picture",
  119. },
  120. vpc = {
  121. image = "Valued pics 1.svg",
  122. tooltip = "Valued picture candidate",
  123. },
  124. fs = {
  125. image = "Cscr-featured.svg",
  126. tooltip = "Featured sound",
  127. },
  128. ffs = {
  129. image = "Cscr-former.svg",
  130. tooltip = "Former featured sound",
  131. },
  132. fsc = {
  133. image = "Cscr-candidate.svg",
  134. tooltip = "Featured sound candidate",
  135. },
  136. fpo = {
  137. image = "Cscr-featured.svg",
  138. tooltip = "Featured portal",
  139. },
  140. fpor = {
  141. image = "Cscr-star piece.png",
  142. tooltip = "Featured portal review",
  143. },
  144. ffpo = {
  145. image = "Featured article star - cross.svg",
  146. tooltip = "Former featured portal",
  147. },
  148. fpoc = {
  149. image = "Cscr-candidate.svg",
  150. tooltip = "Featured portal candidate",
  151. },
  152. ft = {
  153. image = "Cscr-featuredtopic.svg",
  154. tooltip = "Featured topic",
  155. },
  156. ftrc = {
  157. image = "Cscr-star piece.png",
  158. tooltip = "Featured topic removal candidate",
  159. },
  160. fft = {
  161. aliases = {"dft"},
  162. image = "DFT candidate_cluster.svg",
  163. tooltip = "Former featured topic",
  164. },
  165. ftc = {
  166. aliases = {"ftn"},
  167. image = "FT candidate cluster.svg",
  168. tooltip = "Featured topic candidate",
  169. },
  170. gt = {
  171. image = "Support cluster.svg",
  172. tooltip = "Good topic",
  173. },
  174. gtrc = {
  175. image = "Symbol unsupport vote.svg",
  176. tooltip = "Good topic removal candidate",
  177. },
  178. gtc = {
  179. aliases = {"gtn"},
  180. image = "GA candidate cluster.svg",
  181. tooltip = "Good topic candidate",
  182. },
  183. bplus = {
  184. aliases = {"b+"},
  185. image = "Symbol bplus class.svg",
  186. tooltip = "Bplus-Class article",
  187. },
  188. b = {
  189. image = "Symbol b class.svg",
  190. tooltip = "B-Class article",
  191. },
  192. br = {
  193. aliases = {"bcr"},
  194. image = "Bclass-checklist.svg",
  195. tooltip = "B-Class review",
  196. },
  197. c = {
  198. image = "Symbol c class.svg",
  199. tooltip = "C-Class article",
  200. },
  201. start = {
  202. image = "Symbol start class.svg",
  203. tooltip = "Start-Class article",
  204. },
  205. stub = {
  206. image = "Symbol stub class.svg",
  207. tooltip = "Stub-Class article",
  208. },
  209. list = {
  210. aliases = {"comparison"},
  211. image = "Symbol list class.svg",
  212. tooltip = "List-Class article",
  213. },
  214. no = {
  215. image = "Crystal button cancel.svg",
  216. tooltip = "Unknown-Class article",
  217. },
  218. book = {
  219. image = "Symbol book class2.svg",
  220. tooltip = "Wikipedia book",
  221. },
  222. category = {
  223. aliases = {"cat", "categ"},
  224. image = "Folder Hexagonal Icon.svg",
  225. tooltip = "Category",
  226. },
  227. disambiguation = {
  228. aliases = {"dab", "disamb", "disambig"},
  229. image = "Symbol dab class.svg",
  230. tooltip = "Disambiguation page",
  231. },
  232. image = {
  233. aliases = {"file"},
  234. image = "Video-x-generic.svg",
  235. tooltip = "File",
  236. },
  237. portal = {
  238. image = "Portal-puzzle.svg",
  239. tooltip = "Portal",
  240. },
  241. project = {
  242. image = "Symbol information vote.svg",
  243. tooltip = "Project page",
  244. },
  245. redirect = {
  246. aliases = {"red", "redir"},
  247. image = "Symbol redirect vote2.svg",
  248. tooltip = "Redirect",
  249. },
  250. template = {
  251. aliases = {"temp", "templ"},
  252. image = "Symbol template class.svg",
  253. tooltip = "Template",
  254. },
  255. essay = {
  256. image = "Essay.svg",
  257. tooltip = "Essay",
  258. },
  259. na = {
  260. image = "Symbol neutral vote.svg",
  261. tooltip = "Non-article page",
  262. },
  263. aa = {
  264. image = "Yes check.svg",
  265. tooltip = "Audited article of limited subject matter",
  266. },
  267. da = {
  268. image = "Symbol oppose vote.svg",
  269. tooltip = "Demoted article",
  270. },
  271. dyk = {
  272. image = "Symbol question.svg",
  273. tooltip = "Did You Know?",
  274. },
  275. dyk2 = {
  276. image = "DYK questionmark icon.svg",
  277. tooltip = "Did You Know?",
  278. },
  279. pr = {
  280. image = "Nuvola apps kedit.png",
  281. tooltip = "Peer review",
  282. },
  283. ppr = {
  284. image = "Nuvola apps kedit.png",
  285. tooltip = "Portal peer review",
  286. },
  287. q = {
  288. aliases = {"question"},
  289. image = "Symbol question.svg",
  290. tooltip = "Question",
  291. },
  292. qi = {
  293. image = "Quality images logo.svg",
  294. tooltip = "Quality image on Wikimedia Commons",
  295. },
  296. vi = {
  297. image = "Valued image seal.svg",
  298. tooltip = "Valued image on Wikimedia Commons",
  299. },
  300. tfa = {
  301. image = "Wikipedia-logo.svg",
  302. tooltip = "Today's Featured Article",
  303. },
  304. itn = {
  305. image = "Globe current.svg",
  306. tooltip = "In The News",
  307. },
  308. otd = {
  309. image = "Nuvola apps date.svg",
  310. tooltip = "On This Day",
  311. },
  312. wikiproject = {
  313. image = "People icon.svg",
  314. tooltip = "WikiProject",
  315. },
  316. wikipedia = {
  317. image = "Wikipedia-logo.svg",
  318. tooltip = "Wikipedia page",
  319. },
  320. commons = {
  321. image = "Commons-logo.svg",
  322. tooltip = "Commons page",
  323. },
  324. wikiquote = {
  325. image = "Wikiquote-logo.svg",
  326. tooltip = "Wikiquote page",
  327. },
  328. wikiversity = {
  329. image = "Wikiversity-logo.svg",
  330. tooltip = "Wikiversity page",
  331. },
  332. wikibooks = {
  333. image = "Wikibooks-logo.svg",
  334. tooltip = "Wikibooks page",
  335. },
  336. wikisource = {
  337. image = "Wikisource-logo.svg",
  338. tooltip = "Wikisource page",
  339. },
  340. wiktionary = {
  341. image = "Wiktionary-logo.svg",
  342. tooltip = "Wiktionary page",
  343. },
  344. wikinews = {
  345. image = "Wikinews-logo.svg",
  346. tooltip = "Wikinews page",
  347. },
  348. wikispecies = {
  349. image = "Wikispecies-logo.svg",
  350. tooltip = "Wikispecies page",
  351. },
  352. wikidata = {
  353. image = "Wikidata-logo.svg",
  354. tooltip = "Wikidata page",
  355. },
  356. wikivoyage = {
  357. image = "Wikivoyage-logo.svg",
  358. tooltip = "Wikivoyage page",
  359. },
  360. meta = {
  361. image = "Wikimedia Community Logo.svg",
  362. tooltip = "Meta-wiki page",
  363. },
  364. four = {
  365. image = "Four Award.svg",
  366. tooltip = "Four Award",
  367. },
  368. million = {
  369. image = "Million award logo.svg",
  370. tooltip = "Million Award",
  371. },
  372. _DEFAULT = {
  373. image = "Symbol question.svg",
  374. }
  375. }
  376.  
  377. --------------------------------------------------------------------------------
  378. -- End icon data
  379. --------------------------------------------------------------------------------
  380.  
  381. -- Make aliases work the same as normal keys, and remove the "aliases" subtables.
  382. for k, t in pairs(data) do
  383. if t.aliases then
  384. for i, alias in ipairs(t.aliases) do
  385. data[alias] = t
  386. end
  387. t.aliases = nil
  388. end
  389. data[k] = t
  390. end
  391.  
  392. return data