Template:NYCS trains/doc

Usage
This template formats the services that operate on a New York City Subway line. It calls one of service templates and adds the word train or trains after it, according to the number of services that the called template returns. For example:


 * direct calls to service templates:
 * gives
 * gives
 * gives


 * calls to NYCS trains:
 * gives
 * gives
 * gives


 * calls to NYCS trains with bold parameter:
 * gives
 * gives
 * gives

Syntax

 * 1: service template name, not including the NYCS prefix (see examples above; it's the only required parameter)
 * 2: the word bold or omitted; if present, the output is formatted in bold, except for the word train/trains
 * time: this parameter is passed as is to the called template
 * exclude: this parameter is passed as is to the called template