Différences entre les versions de « Module:Icon »

Aller à la navigation Aller à la recherche
45 octets supprimés ,  6 décembre 2021 à 20:06
re-enabling images following backend fix
Balise : Révoqué
(re-enabling images following backend fix)
Balise : Annulation
Ligne 7 : Ligne 7 :
resource = string.lower(com.trim(resource))
resource = string.lower(com.trim(resource))
resource = iconList[resource]
resource = iconList[resource]
result = ''
if resource ~= nil then
if resource ~= nil then
-- Init link here, will be nil if resource is nil
-- Init link here, will be nil if resource is nil
Ligne 22 : Ligne 22 :
end
end
-- result = result ..
result = '[[file:'  
-- '[[file:'  
.. resource['file']  
-- .. resource['file']  
.. '|16px|link='
-- .. '|16px|link='
.. link
-- .. link ]]--
.. ']]'
-- .. ']]'
if com.exists(text) == true then
if com.exists(text) == true then
1 124

modifications

Menu de navigation