Template:MNR west links/doc
Appearance
This is a documentation subpage for Template:MNR west links. It may contain usage information, categories and other content that is not part of the original template page. |
This is a documentation subpage for Template:MNR links. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This pair of templates provides a simple way to link to the official Metro-North station information pages and departure boards. It also makes changes easy in case the MTA redesigns their website. In most use cases of this template, simply placing {{MNR links}}
(or {{MNR west links}}
for West-of-Hudson service) in the external links section on a page should be sufficient.
There are a few exceptions to this, whose station names are coded into the first parameter ({{MNR links|1}}
). They are:
- Grand Central Terminal
- Stamford Transportation Center
- New Haven Union Station
- Hoboken Terminal (hardcoded to avoid duplicating the DepartureVision link)
If there is no entry in the East-of-Hudson realtime list, Template:MNR links traintime code, then the realtime link is omitted.