Module:SpriteFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 45: Line 45:
elseif link ~= '' then
elseif link ~= '' then
local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or ''
local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or ''
if linkPrefix ~= nil then
if string.find(linkPrefix, "[Pp]arallel:") then  -- <- these are the added bits here
if string.find(linkprefix, "[Pp]arallel:") then  -- <- these are the added bits here
linkprefix = ''   
linkprefix = ''   
end
end
end
link = linkPrefix .. link
link = linkPrefix .. link

Navigation menu