Template:PTV2
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:
{{PTV2|19196426}}produces 19196426
19196426 (JOSM, Relatify){{PTV2|19196426|short=1}}produces 19196426
19196426 (J, R)
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| OSM id | OSM id | The OpenStreetMap relation ID | Number | required |
| short | short | Whether to shorten the editor links
| Boolean | optional |