Template:MNR links traintime code
Appearance
Template documentation
This template returns a station's traintime code parameter for use with traintime pages such as
https://traintime.mta.info/sign?code=0NY
or
https://traintime.mta.info/station?code=0NY
as accessible through
https://traintime.mta.info/list
.
This was (initially) generated with
curl -H 'Accept-Version: 3.0' 'https://backend-unified.mylirr.org/infrastructure' | jq -r '.stations[] | select(.railroad == "MNR") | "|\(.name)=\(.code)"'
and then supplemented with hand edits.
(This template was based on Template:MNR links as0 for the Metro-North's AVIS system.)