7,878
edits
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
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(":%l", string.upper) | |||
text = tostring(spriteText):gsub(" | text = text:gsub("[Pp]arallel:", "") | ||
text = text:gsub(" | |||
spriteText = '[[' .. link .. '|' .. text .. ']]' | spriteText = '[[' .. link .. '|' .. text .. ']]' | ||
else | else |