Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 558:
icon = line_type.icon
end
end
 
if not icon_format then
icon_format = line['icon format'] or data['line icon format']
end
 
if not icon then
icon = line.icon
end
 
-- Only if there is no icon use the icon_format.
if not icon and not icon_format then
icon_format = line['icon format'] or data['line icon format']
end
 
Line 573 ⟶ 574:
end
 
end
 
if not icon_format then
icon_format = data['system icon format']
end
 
if not icon then
icon = data['system icon']
end
 
if not icon_format then
icon_format = data['system icon format']
end