Template:ToPT Route

From OpenStreetMap Wiki
Jump to navigation Jump to search

A template to add rows with master relations to Public Transport tables.

Usage

Use the route master for every route and add route variants for every variant under the route master.

Route master

{{ToPT Route
| text-color = text-color
| bg-color   = background-color
| master-ref = master-route-reference
| relation   = relation-id
| rowspan    = number-of-child-relations+1
| route-comp = percent-of-the-route-completed
| stop-comp  = percent-of-the-stops-added
| pt-comp    = percent-of-the-stops-converted-to-PT
| route      = route-text-discription
| comment    = mappers-comment
| valid      = valid-until
}}

Route variant

{{ToPT Route
| child-ref  = child-route-reference
| relation   = relation-id
| route-comp = percent-of-the-route-completed
| stop-comp  = percent-of-the-stops-added
| pt-comp    = percent-of-the-stops-converted-to-PT
| route      = route-text-discription
| comment    = mappers-comment
| valid      = valid-until
}}