Template:MNR west links/doc

From MOASSpedia
< Template:MNR west links
Revision as of 01:19, 10 November 2020 by Wikipedia>Jhawkinson (Use template for Danbury, Waterbury)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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 as0, then the realtime link is omitted.