Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 114: Line 114:
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 = mw.ustring.gsub(text, "^%l", string.upper)
text = text:sub(1,1):upper()..text:sub(2)
spriteText = '[[' .. link .. '|' .. text .. ']]'
spriteText = '[[' .. link .. '|' .. text .. ']]'
else
else

Navigation menu