Trolleybuses and other straight electric vehicles

Much of the discussion on these forums has been in relation to battery electric vehicles. How about straight electric vehicles, such as trolleybuses, trams and electric trains?
One of the great advantages of electric traction is that electricity can be wired directly to the vehicle while in use. Oil can only be stored in an on-board tank. What’s ironic is that trolleybuses began to appear just as electric passenger cars dissapeared.
From 1939 to 1964, trolleytrucks ran in a underground mine in Michigan, and they even had batteries for off-wire use, as is the case with modern trolleybuses.