Template:PTV2

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template creates formatted links for OpenStreetMap relations. For route_master relations, use Template:PTV2 Master.

Usage: {{PTV2|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, R instead of JOSM, Relatify)

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

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

This template creates formatted links for OpenStreetMap public transport V2 route 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