440
edits
(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",
},
ffp = {
Line 129 ⟶ 140:
},
fpo = {
image = "
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 = "
tooltip = "Category",
},
Line 226 ⟶ 237:
image = {
aliases = {"file"},
image = "
tooltip = "File",
},
tooltip = "Needed article",
},
outline = {
image = "Global thinking.svg",
tooltip = "Outline",
},
portal = {
image = "Symbol portal class.svg",
tooltip = "Portal",
},
project = {
image = "Symbol
tooltip = "Project page",
},
Line 252 ⟶ 271:
},
na = {
image = "Symbol
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
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
|