Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 113: Line 113:
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub(" (Vanilla)", "") .. ']]'
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub(" (Vanilla)", "") .. ']]'
elseif string.find(tostring(spriteText), "[Pp]arallel:") then
elseif string.find(tostring(spriteText), "[Pp]arallel:") then
text = tostring( spriteText ):gsub("[Pp]arallel:", "")
text = tostring( spriteText ):gsub("*[Pp]arallel:", "")
text = text:sub(1,1):upper()..text:sub(2)
text = text:gsub("^%l", string.upper)
spriteText = '[[' .. link .. '|' .. text .. ']]'
spriteText = '[[' .. link .. '|' .. text .. ']]'
else
else

Navigation menu