Template:Transport for New South Wales railway stations
{{Transport for New South Wales railway stations|_|state=}}
{{Transport for New South Wales railway stations}} is a universal navbox template that lists all of the stations and routes currently serviced, or planned to be serviced, by one of the three major public transport operators – Sydney Trains, Sydney Metro (Metro Trains Sydney), and NSW TrainLink. The navbox is divided into four sections, one for Sydney Trains services, one for Sydney Metro services, and two for NSW TrainLink services, with one dedicated to TrainLink's intercity services, and one dedicated to TrainLink's regional services. Each of the four sections are divided into various groups representing each route serviced by the three operators. For example, the Sydney Trains section has ten groups, each listing the stations of all of the Sydney Trains network's eight services, including three for each of the T1 service's different segregated timetable routes. All the individual groups in each section are hidden using {{#switch:}} templates. To avoid navbox congestion, all groups are hidden by default, with the sections only appearing if the associated parameter with that group is activated. The key to activating parameters is set to "y".
As of current, eight navbox templates are based on the design of {{Transport for New South Wales railway stations}}. These are as follows – {{Adelaide Metro railway stations}}, used for railway stations of the Adelaide Metro network, {{Journey Beyond railway stations}}, used for the railway stations of the Journey Beyond's railway services, {{Public Transport Authority of Western Australia railway stations}}, used for the Transperth and Transwa railway networks, {{Public Transport Victoria railway stations}}, used for the Metro Trains Melbourne and V/Line railway networks, {{Queensland Rail railway stations}}, for the railway stations of the Queensland Rail Citytrain and Travel networks, {{Sound Transit railway stations}}, for the railway stations of the Sounder commuter rail and Link light rail networks in Seattle, {{Transport for New South Wales ferry wharves}}, for the ferry wharves of the Sydney Ferries network, and {{TSGN and SE Stations}}, for the railway stations of Govia Thameslink Railway's networks in Greater London.
Examples
Example 1
On the article for Wondabyne railway station, which is a station currently solely operated by NSW TrainLink's Central Coast & Newcastle Line service, only the "Central Coast & Newcastle" parameter is activated as follows, producing the after-seen result:
{{Transport for New South Wales railway stations|Central Coast & Newcastle=y}}
Example 2
On the article for Wolli Creek railway station, which is a station currently serviced by Sydney Trains' Eastern Suburbs & Illawarra Line and Airport & South Line, and NSW TrainLink's South Coast Line, the parameters "Eastern Suburbs & Illawarra", "Airport", and "South Coast" are activated as follows, to produce the after-seen result:
{{Transport for New South Wales railway stations|Eastern Suburbs & Illawarra=y|Airport & South=y|South Coast=y|state=collapsed}}
Example 3
On the article for Strathfield railway station, which is a station currently serviced by multiple Sydney Trains and NSW TrainLink services, with two routes of two different Sydney Trains Services (plus an additional special event service), along with two NSW TrainLink services and three intercity services, the following parameters are activated as follows, producing the after-seen result:
{{Transport for New South Wales railway stations|North Shore & Northern=y|Northern=y|Western=y|Inner West & Leppington=y|Olympic Park=y|Blue Mountains=y|Central Coast & Newcastle=y|North Coast Region=y|North Western Region=y|Western Region=y}}
Parameters
Main parameters
|
|
|
Additional parameters
Parameter | Inputs | Result / notes |
---|---|---|
state=
|
collapsed
|
Collapses navbox by default. |
expanded
|
Expands the navbox by default. |
Full template
Here's the entire template as it looks with all parameters active, displayed as "state=expanded", as a visual reference to editors.
Succession
This universal navbox template is designed as a merger and replacement for five predecessor navbox templates, which now redirect to {{Transport for New South Wales railway stations}}. They are as follows: