Difference between revisions of "Module:Icon"

Jump to navigation Jump to search
no edit summary
 
(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']  
.. '|16px|link='
.. '|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
.. ']]'
.. ']]'
106

edits

Navigation menu