Module:Sandbox/BrandonXLF/3: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 46:
if existingFile == '' and division ~= 'highway' and division ~= 'toll' then -- Check if fallback should be used
local fileName = 'File:RR ' .. route .. ' jct.svg' -- Get fallback file name
 
if mw.title.new('File:' .. fileName).file.exists then -- Check if the fallback file exists and recoed it if it does