Template:Adelaide Metro railway stations
Template:Transport for New South Wales railway stations/related
<syntaxhighlight lang="wikitext"> </syntaxhighlight>{{Adelaide Metro 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 South Australia's Adelaide Metro public transport system. The navbox divided into six groups representing each route serviced by the Adelaide Metro. 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 source]
Example 1[edit source]
On the article for Albert Park railway station, Adelaide, which is a station currently solely operated by the Adelaide Metro's Grange Line service, only the "Grange Line" parameter is activated as follows, producing the after-seen result:
<syntaxhighlight lang="wikitext"> </syntaxhighlight>Example 2[edit source]
On the article for Mile End railway station, Adelaide, which is a station currently operated by the Adelaide Metro's Belair Line, Seaford Line, and Flinders Line services, the "Belair Line", "Seaford Line", and "Flinders Line" parameters are activated as follows, producing the after-seen result:
<syntaxhighlight lang="wikitext"> </syntaxhighlight>Parameters[edit source]
Template:Col-begin Template:Col-break
- Main parameters
Service | Parameter | |
---|---|---|
style="background:#Template:Rcr;"| | Belair line | "Belair" |
style="background:#Template:Rcr;"| | Flinders line | "Flinders" |
style="background:#Template:Rcr;"| | Gawler line | "Gawler" |
style="background:#Template:Rcr;"| | Grange line | "Grange" |
style="background:#Template:Rcr;"| | Outer Harbor line | "Outer Harbor" |
style="background:#Template:Rcr;"| | Port Dock line | "Port Dock" |
style="background:#Template:Rcr;"| | Seaford line | "Seaford" |
- Additional parameters
Parameter | Inputs | Result / notes |
---|---|---|
"state=" | "collapsed" | Collapses navbox by default. |
"expanded" | Expands the navbox by default. |
Full template[edit source]
Here's the entire template as it looks with all parameters active, displayed as "state=expanded", as a visual reference to editors.
Succession[edit source]
This universal navbox template is designed as a merger and replacement for six predecessor navbox templates, which now redirect to {{Adelaide Metro railway stations}}. They are as follows: Template:Col-begin Template:Col-break