Template:Public Transport Authority of Western Australia railway stations/doc

Public Transport Authority of Western Australia 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 Western Australia's division for public transport, the Public Transport Authority. The navbox is divided into two sections, one for the authority's metropolitan Transperth service and one for its regional Transwa service. Both sections are divided into various groups representing each rail route serviced by both Transperth and Transwa. For example, the Transperth section has six groups, each listing the stations of all of the Transperth Trains network's seven continuous routes and their individual stopping pattern routes. All the individual groups in each section are hidden using 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".

Example 1
On the article for Subiaco railway station, which is a station serviced solely by Transperth Trains' Fremantle Line service, only the "Fremantle" parameter needs to be active. The template should be written as follows, producing the result seen afterwards:

Example 2
On the article for Elizabeth Quay railway station, which is a station serviced by two of Transperth trains' services, the Joondalup Line and Mandurah Line, the parameters "Joondalup" and "Mandurah" need to be active. The template should be written as follows, producing the result seen afterwards:

Main parameters

 * style="width:50%; text-align:left; vertical-align:top;" |
 * Transperth
 * style="width:50%; text-align:left; vertical-align:top;" |
 * Transwa

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 two predecessor navbox template, which now redirect to Public Transport Authority of Western Australia railway stations. They are as follows:
 * Transperth railway stations
 * Transwa Fleet