1,124
edits
Line 19: | Line 19: | ||
if com.exists(value) then | if com.exists(value) then | ||
value = ' (' .. value .. ')' | value = ' (' .. value .. ')' | ||
else | |||
value = '' | |||
end | end | ||
result = '[[file:' | result = '[[file:' | ||
Line 29: | Line 30: | ||
.. ']]' | .. ']]' | ||
if com.exists(text) | if com.exists(text) then | ||
if string.lower(text) ~= 'no' then | if string.lower(text) ~= 'no' then | ||
result = result .. '[[' | result = result .. '[[' | ||
Line 36: | Line 37: | ||
end | end | ||
end | end | ||
result = result .. value | |||
else | else | ||
result = 'Icon does not exist[[Category:Missing Icon]]' | result = 'Icon does not exist[[Category:Missing Icon]]' |