Difference between revisions of "Module:Icon"

Jump to navigation Jump to search
12 bytes removed ,  14:40, 23 December 2021
no edit summary
Line 16: Line 16:
--No point trimming the value if it won't be used
--No point trimming the value if it won't be used
value = com.trim(value)
value = com.trim(value)
mw.log(value .. ' ')
--Check after trim as may be whitespace only
--Check after trim as may be whitespace only
if com.exists(value) == true then
if com.exists(value) then
value = ' (' .. value .. ')'
value = ' (' .. value .. ')'
end
end
mw.log(value)
result = '[[file:'  
result = '[[file:'  

Navigation menu