106
edits
| (3 intermediate revisions by the same user not shown) | |||
| Line 33: | Line 33: | ||
result = '[[file:' | result = '[[file:' | ||
.. resource['file'] | .. resource['file'] | ||
.. '| | .. '|20px|link=' | ||
.. link | .. link | ||
.. ']]' | .. ']]' | ||
| Line 39: | Line 39: | ||
if com.exists(text) then | if com.exists(text) then | ||
if string.lower(text) ~= 'no' then | if string.lower(text) ~= 'no' then | ||
result = result .. '[[' | result = result .. ' [[' | ||
.. link | .. link | ||
.. ']]' | .. ']]' | ||
edits