Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 112: Line 112:
if string.find(link, "(Vanilla)") then
if string.find(link, "(Vanilla)") then
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub("(Vanilla)", "") .. ']]'
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub("(Vanilla)", "") .. ']]'
elseif string.find(tostring(spriteText), "[Pp]arallel:") then
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub("[Pp]arallel:", "") .. ']]'
else
else
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'

Navigation menu