Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
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( link ) .. ']'
spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']'
else
else
spriteText = '[[' .. link .. '|' .. tostring( link ) .. ']]'
if string.find(link, "(Vanilla)") then
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub("(Vanilla)", "") .. ']]'
else
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'
end
end
end
end
end

Navigation menu