I would do tram routes similar/the same as bus routes, where you add a relation for the route and then add nodes for the stops and label the stops with IDs etc, that way shared stops on different routes can be shown differently, it also means people could do a custom rendered map showing tram routes.