Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Syntax  





3 See also  














Template:NYCS trains






Azərbaycanca
فارسی
Bahasa Indonesia
Kurdî


Simple English
Tagalog

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{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 trainortrains after it, according to the number of services that the called template returns. For example:

{{NYCS Sixth}} gives B, ​D, ​F, <F>, and ​M
{{NYCS Crosstown}} gives G
{{NYCS none}} gives no regular service
{{NYCS trains|Sixth}} gives B, ​D, ​F, <F>, and ​M trains
{{NYCS trains|Crosstown}} gives G train
{{NYCS trains|none}} gives no regular service
{{NYCS trains|Sixth|bold}} gives B, ​D, ​F, <F>, and ​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, <F>, and ​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=... }}

if is equal to routeorroutes, the template adds the word route/routes;
if is equal to serviceorservices, the template adds the word service/services

See also

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

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]].

Example
Sixth
Unknownoptional
22

Add "bold" to format the services in bold

Unknownoptional
timetime

Display method. See [[Template:NYCS time 2/doc]] for options

Example
bullets
Unknownoptional
excludeexclude

Exclude a service from being displayed in the given template

Example
B
Unknownoptional
typetype

Add "routes" or "services" instead of "trains"

Example
route
Unknownoptional
aposapos

Adds a possessive "train's" or "trains'"

Example
y
Unknownoptional

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:NYCS_trains&oldid=932458782"

Category: 
Intricate templates
Hidden categories: 
Wikipedia semi-protected templates
Pages using New York City Subway service templates
 



This page was last edited on 26 December 2019, at 02:34 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki