Template:Infobox rail line

Example usage: