Module:SpriteFile: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 108: Line 108:
else
else
if string.find(link, "parallel:") then  -- <---- this sub-if/else statement is new
if string.find(link, "parallel:") then  -- <---- this sub-if/else statement is new
spriteText = '[[' .. mw.ustring.lower( link ):gsub( 'parallel:', '' ) .. '|' .. tostring( spriteText ) .. ']]'
spriteText = '[[' .. mw.ustring( link ):gsub( 'parallel:', '' ) .. '|' .. tostring( spriteText ) .. ']]'
else
else
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]'