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

Aller à la navigation Aller à la recherche
17 octets ajoutés ,  14 février 2022 à 17:07
aucun résumé de modification
Ligne 59 : Ligne 59 :
function p.iconList(frame)
function p.iconList(frame)
if string.match(string.lower(frame.args[1]), '%[%[file:') ~= nil then
if string.match(string.lower(frame.args[1]), '%[%[file:') ~= nil then
return '[[Category:Material List with Embedded Templates]]'
return frame.args[1] .. '[[Category:Material List with Embedded Templates]]'
else
else
list = string.gsub(string.gsub(frame.args[1], '%[%[', ''), '%]%]', '')
list = string.gsub(string.gsub(frame.args[1], '%[%[', ''), '%]%]', '')
1 124

modifications

Menu de navigation