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

Aller à la navigation Aller à la recherche
aucun résumé de modification
 
Ligne 17 : Ligne 17 :
if resource ~= nil then
if resource ~= nil then
-- Init link here, will be nil if resource is nil
if not com.exists(link) then
link = resource['link']
end
--No point trimming the value if it won't be used
--No point trimming the value if it won't be used
Ligne 22 : Ligne 27 :
--Check after trim as may be whitespace only
--Check after trim as may be whitespace only
if com.exists(value) then
if com.exists(value) then
value = ' ' .. value .. ' '
value = '' .. value .. ' '
else
else
value = ''
value = ''
end
-- Init link here, will be nil if resource is nil
if not com.exists(link) then
link = resource['link']
end
end


424

modifications

Menu de navigation