8,278
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 107: | Line 107: | ||
spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | ||
else | else | ||
if string.find(link, "parallel:") then | 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.lower( link ):gsub( 'parallel:', '' ) .. '|' .. tostring( spriteText ) .. ']]' | ||
else | else |