Template:NYCS

From Wikipedia, the free encyclopedia

[[[[{{{1}}} (New York City Subway service)|{{{2}}}]] (New York City Subway service)|[[{{{1}}} (New York City Subway service)|{{{2}}}]]]]

The template documentation below is transcluded from Template:NYCS/doc [edit]

{{NYCS}} is a universal template intended to replace older NYCS templates such as {{NYCS 5}} and {{NYCS time}}.

Contents

[edit] Parameters

[edit] Mandatory

1 (or first unnamed parameter)
The page name without the (New York City Subway service) suffix

[edit] Optional

2 (or second unnamed parameter)
The link text, if left blank the value from 1 will be used
3 (or third unnamed parameter)
If given will provide a link {{{3}}} to be used in place of the {{NYCS time}}.

[edit] Transition table

Substitute value for conversion to the new template

* Replace {{NYCS 1}} with {{NYCS|1}}
* Replace {{NYCS 2}} with {{NYCS|2}}
* Replace {{NYCS 3}} with {{NYCS|3}}
* Replace {{NYCS 4}} with {{NYCS|4}}
* Replace {{NYCS 5}} with {{NYCS|5}}
* Replace {{NYCS 6}} with {{NYCS|6}}
* Replace {{NYCS 7}} with {{NYCS|7}}
* Replace {{NYCS 8}} with {{NYCS|8}}
* Replace {{NYCS 9}} with {{NYCS|9}}
* Replace {{NYCS A}} with {{NYCS|A}}
* Replace {{NYCS B}} with {{NYCS|B}}
* Replace {{NYCS C}} with {{NYCS|C}}
* Replace {{NYCS D}} with {{NYCS|D}}
* Replace {{NYCS E}} with {{NYCS|E}}
* Replace {{NYCS F}} with {{NYCS|F}}
* Replace {{NYCS G}} with {{NYCS|G}}
* Replace {{NYCS H}} with {{NYCS|H}}
* Replace {{NYCS J}} with {{NYCS|J}}
* Replace {{NYCS K}} with {{NYCS|K}}
* Replace {{NYCS L}} with {{NYCS|L}}
* Replace {{NYCS M}} with {{NYCS|M}}
* Replace {{NYCS N}} with {{NYCS|N}}
* Replace {{NYCS Q}} with {{NYCS|Q}}
* Replace {{NYCS R}} with {{NYCS|R}}
* Replace {{NYCS T}} with {{NYCS|T}}
* Replace {{NYCS V}} with {{NYCS|V}}
* Replace {{NYCS W}} with {{NYCS|W}}
* Replace {{NYCS Z}} with {{NYCS|Z}}

For rush templates:

* Replace {{NYCS 6 rush}} with {{NYCS|6|<6>}}
* Replace {{NYCS 7 rush}} with {{NYCS|7|<7>}}

For shuttle templates:

* Replace {{NYCS S 42nd}} with [[42nd Street Shuttle]]
* Replace {{NYCS S Franklin}} with [[Franklin Avenue Shuttle]]
* Replace {{NYCS S Rockaway}} with [[Rockaway Park Shuttle]]

If {{NYCS time}} follows the template intended to replace it, such as {{NYCS 5}} followed by {{NYCS time|1234}}, replace them with {{NYCS|5||1234}}. Do this for all non-rush templates. For rush templates, such as {{NYCS 6 rush}} followed by {{NYCS time|12}}, replace them with {{NYCS|6|<6>|12}}. Do this for all rush templates.

In other languages