User:Alphachimp/Sandbox

From Wikipedia, the free encyclopedia

TASK 1

7

Replace with:

7

TASK 2

<7>

Replace with:

<7>

to continue:

If {{NYCS time}} follows, for example: {{NYCS 5}} followed by {{NYCS time|234}}, then I want my bot to replace it with {{NYCS service|5||234}}. If a rush template comes before {{NYCS time}}, for example: {{NYCS 7 rush}} followed by {{NYCS time|1a2a3c}}, then I want my bot to replace it with {{NYCS service|7|<7>|1a2a3c}}. Also, for the shuttle services, I want my bot to replace {{NYCS S 42nd}} with {{NYCS service|S - 42nd Street Shuttle|S}}, {{NYCS S Franklin}} with {{NYCS service|S - Franklin Avenue Shuttle|S}}, and {{NYCS S Rockaway}} with {{NYCS service|S - Rockaway Park Shuttle|S}}.