106
edits
| (4 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
all languages would have a single wiki, leaving in as this may change in the | all languages would have a single wiki, leaving in as this may change in the | ||
future ]] | future ]] | ||
if string.lower(lang) == 'en' then | if lang and string.lower(lang) == 'en' then | ||
require('Module:Icon/en') | require('Module:Icon/en') | ||
else | else | ||
| 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