Template:Public Transport Victoria railway stations
This template is based on {{Transport for New South Wales railway stations}} Other related templates in this set are:
|
{{Public Transport Victoria railway stations|_|state=}}
{{Public Transport Victoria railway stations}} is a universal navbox template, based on the design of {{Transport for New South Wales railway stations}}, that lists all of the railway stations currently serviced, or planned to be serviced, by Victoria's public transport operator Public Transport Victoria (PTV). The navbox is divided into two sections, one for PTV's metropolitan Metro Trains Melbourne service and one for its regional V/Line service. Both sections are divided into various groups representing each route serviced by Public Transport Victoria. For example, the Metro Trains Melbourne section has sixteen groups, each listing the stations of all of the Metro Trains Melbourne network's seven continuous routes and their individual stopping pattern 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 paramaters is set to "y".
Examples
Example 1
On the article for Cheltenham railway station, Melbourne, which is a station currently solely operated by Metro Trains Melbourne's Frankston Line service, only the "Frankston" parameter is activated as follows, producing the after-seen result:
{{Public Transport Victoria railway stations|Frankston=y}}
Example 2
On the article for Dandenong railway station, which is a station currently serviced by Metro Trains Melbourne's Cranbourne Line, Pakenham Line, and V/Line's Eastern services, the parameters "Cranbourne", "Pakenham", and "Eastern" are activated as follows, to produce the after-seen result:
{{Public Transport Victoria railway stations|Cranbourne=y|Pakenham=y|Eastern=y}}
Example 3
On the article for Footscray railway station, which is a station currently serviced by Metro Trains Melbourne's Sunbury line, Werribee line, and Williamstown line services, along with V/Line's Northern, South Western and Western services, the following parameters are activated as follows, producing the after-seen result:
{{Public Transport Victoria railway stations|Sunbury=y|Werribee=y|Williamstown=y|Northern=y|South Western=y|Western=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.