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