{{NYCS {{{1}}}|time=|exclude=}}
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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:
{{ NYCS trains |1=<service template>|2=bold|time=...|exclude=... }}
train's
or plural trains'
This template formats the services that operate on a New York City Subway line. It is used to call a New York City Subway service template and adds the word "train" or "trains" afterward, according to the number of services that the called template returns.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Name of the service template, without the "NYCS" prefix. These templates can be found in the subcategories of [[:Category:New York City Subway line templates]].
| Unknown | optional |
2 | 2 | Add "bold" to format the services in bold | Unknown | optional |
time | time | Display method. See [[Template:NYCS time 2/doc]] for options
| Unknown | optional |
exclude | exclude | Exclude a service from being displayed in the given template
| Unknown | optional |
type | type | Add "routes" or "services" instead of "trains"
| Unknown | optional |
apos | apos | Adds a possessive "train's" or "trains'"
| Unknown | optional |