Template:NYCS br/sandbox
This is the template sandbox page for Template:NYCS br (diff). |
This template is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]Within the formatting of New York City Subway-related articles involving the presentation of subway services, this template creates line breaks (<br/>
) if the |time=
parameter is equal to "full", "text", "color", or "colorshow". This template works in conjunction with Template:NYCS time 2.
This template also includes a |punct=
parameter that allows the template to be configured into a comma, serial comma, or the conjunction "and" if the |time=
parameter is equal to "nolink" or is blank. The options for |punct=
are ,
(for comma), ,and
(for serial comma), and and
(for conjunction), respectively.
A zero-width space (​
) must be added before each use, in order to prevent problems with {{NYCS trains}}. See this discussion for a detailed explanation.