Module:Sandbox/BrandonXLF/3: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 32:
end
if mw.title.makeTitlenew('Media:', .. fileName).exists then -- Check if the file exists and record it if it does
existingFile = fileName
end
Line 40:
fileName = 'RR ' .. route .. ' jct.svg' -- Try fallback file
if mw.title.makeTitlenew('Media:', .. fileName).exists then -- Check if the fallback file exists and record if it does
existingFile = fileName
end