Template:PTV2 Master

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template creates formatted links for OpenStreetMap route master relations. For routes, use Template:PTV2.

Usage: {{PTV2 Master|osm_id|short=1}}

Examples:

Parameters:

  • OSM id: The OpenStreetMap relation ID
  • short: Optional. Set to any value (e.g., "1" or "yes") to use abbreviated link text (J, U instead of JOSM, Unroll)

Output: Links to view the relation on OpenStreetMap, open it in JOSM, and view it with Unroll.

This template can be used for inserting links to relations of type route_master.

This template creates formatted links for OpenStreetMap public transport V2 route_master relations

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
OSM idOSM id

The OpenStreetMap relation ID

Numberrequired
shortshort

Whether to shorten the editor links

Auto value
false
Booleanoptional