Module:Icon/data: Difference between revisions

1,113 bytes added ,  2 years ago
m
3 revisions imported from wikipedia:Module:Icon/data
(create data module for Module:Icon from data in Template:Icon)
 
m (3 revisions imported from wikipedia:Module:Icon/data)
 
(16 intermediate revisions by 12 users not shown)
Line 1:
-- This module stores icon data for [[Module:Icon]].
 
--------------------------------------------------------------------------------
-- Icon data
--------------------------------------------------------------------------------
 
local data = {
fa = {
Line 103 ⟶ 109:
image = "Cscr-featured.svg",
tooltip = "Featured picture",
},
fpc = {
aliases = {"fpn"},
image = "Cscr-candidate.svg",
tooltip = "Featured portalpicture candidate",
},
ffp = {
Line 129 ⟶ 140:
},
fpo = {
image = "CscrLinecons big-featuredstar.svg",
tooltip = "Before the featured portal process ceased in 2017, this had been designated as a featured portal.",
tooltip = "Featured portal",
},
fpor = {
Line 216 ⟶ 227:
category = {
aliases = {"cat", "categ"},
image = "FolderSymbol Hexagonalcategory Iconclass.svg",
tooltip = "Category",
},
Line 226 ⟶ 237:
image = {
aliases = {"file"},
image = "Video-x-genericSymbol file class.svg",
tooltip = "File",
},
portal needed = {
image = "Portal-puzzleSymbol needed class.svg",
tooltip = "Needed article",
},
outline = {
image = "Global thinking.svg",
tooltip = "Outline",
},
portal = {
image = "Symbol portal class.svg",
tooltip = "Portal",
},
project = {
image = "Symbol informationproject voteclass.svg",
tooltip = "Project page",
},
Line 252 ⟶ 271:
},
na = {
image = "Symbol neutralna voteclass.svg",
tooltip = "Non-article page",
},
Line 295 ⟶ 314:
image = "Wikipedia-logo.svg",
tooltip = "Today's Featured Article",
},
tfl = {
image = "Wikipedia-logo.svg",
tooltip = "Today's Featured List",
},
itn = {
Line 321 ⟶ 344:
},
wikiversity = {
image = "Wikiversity- logo 2017.svg",
tooltip = "Wikiversity page",
},
Line 363 ⟶ 386:
image = "Million award logo.svg",
tooltip = "Million Award",
},
module = {
image = "Lua-logo-nolabel.svg",
tooltip = "Module",
},
vital = {
image = "Círculos_Concéntricos.svg",
tooltip = "Vital article",
},
_DEFAULT = {
Line 369 ⟶ 400:
}
 
--------------------------------------------------------------------------------
-- 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