{{NYCS {{{1}}}|time=|exclude=}}

[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

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:
{{NYCS Sixth}} gives B D F M
{{NYCS Crosstown}} gives G
{{NYCS none}} gives no regular service
{{NYCS trains|Sixth}} gives B D F M trains
{{NYCS trains|Crosstown}} gives G train
{{NYCS trains|none}} gives no regular service
{{NYCS trains|Sixth|bold}} gives B D F M trains
{{NYCS trains|Crosstown|bold}} gives G train
{{NYCS trains|none|bold}} gives no regular service
{{NYCS trains|Sixth|type=route}} gives B D F M routes
{{NYCS trains|Crosstown|type=route}} gives G route
{{NYCS trains|none|type=route}} gives no regular service

Syntax തിരുത്തുക

{{ NYCS trains |1=<service template>|2=bold|time=...|exclude=... }}

  • 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
  • type: if omitted, the template adds the word train/trains;
if is equal to route or routes, the template adds the word route/routes;
if is equal to service or services, the template adds the word service/services

See also തിരുത്തുക

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:NYCS_trains&oldid=2032364" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്