{{Queensland Rail railway stations|_|state=}}

{{Queensland Rail railway stations}} is a universal navbox template, based on the design of {{Transport for New South Wales railway stations}}, that lists all of the stations and routes currently serviced, or planned to be serviced, by one Queensland's public transport railway operator Queensland Rail. The navbox is divided into two sections, one for Queensland Rail's Citytrain services, and one for its Travel services. Both sections are divided into various groups representing each route serviced by Queensland Rail. For example, the Citytrain section has twelve groups, each listing the stations of all of the Citytrain network's thirteen 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 edit

Example 1 edit

On the article for Robina railway station, which is a station currently solely operated by Queensland Rail Citytrain's Gold Coast Line service, only the "Gold Coast" parameter is activated as follows, producing the after-seen result:

{{Queensland Rail railway stations|Gold Coast=y}}

Example 2 edit

On the article for Park Road railway station, which is a station currently serviced by Queensland Rail Citytrain's Beenleigh Line, Cleveland Line, and Gold Coast Line service, the parameters "Beenleigh", "Cleveland", and "Gold Coast" are activated as follows, to produce the after-seen result:

{{Queensland Rail railway stations|Beenleigh=y|Cleveland=y|Gold Coast=y}}

Example 3 edit

On the article for Caboolture railway station, which is a station currently serviced by Queensland Rail Citytrain's Caboolture Line and Sunshine Coast Line services, along with Queensland Rail Travel's Spirit of Queensland, Spirit of the Outback, and Tilt Train services, the following parameters are activated as follows, producing the after-seen result:

{{Queensland Rail railway stations|Caboolture=y|Sunshine Coast=y|Spirit of Queensland=y|Spirit of the Outback=y|Tilt Train=y}}

Parameters edit

Main parameters edit

Additional parameters edit

Parameter Inputs Result / notes
"state=" "collapsed" Collapses navbox by default.
"expanded" Expands the navbox by default.

Full template edit

Here's the entire template as it looks with all parameters active, displayed as "state=expanded", as a visual reference to editors.

Succession edit

This universal navbox template is designed as a merger and replacement for sixteen predecessor navbox templates, which now redirect to {{Queensland Rail railway stations}}. They are as follows: