8,282
edits
No edit summary Tag: Manual revert |
No edit summary |
||
Line 107: | Line 107: | ||
spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | ||
else | else | ||
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]' | if string.find(link, "parallel:") then -- <---- this sub-if/else statement is new | ||
spriteText = '[[' .. link:gsub( 'parallel:', '' ) .. '|' .. link:gsub( 'parallel:', '' ) .. ']]' | |||
else | |||
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]' | |||
end | |||
end | end | ||
end | end |