Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 108: Line 108:
-- External link
-- External link
if link:find( '//' ) then
if link:find( '//' ) then
spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']'
spriteText = '[' .. link .. ' ' .. tostring( link ) .. ']'
else
else
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'
spriteText = '[[' .. link .. '|' .. tostring( link ) .. ']]'
end
end
end
end