Difference between revisions of "Template:Adelaide Metro railway stations"

From blackwiki
Jump to navigation Jump to search
blackwiki>Nick Mitchell 98
m (Link corrections)
blackwiki>Nick Mitchell 98
(Link corrections)
Line 5: Line 5:
 
| listclass    = hlist
 
| listclass    = hlist
 
| above        = {{flatlist|
 
| above        = {{flatlist|
* [[List of Adelaide railway stations]]
+
* [[List of railway stations in Adelaide]]
* [[List of closed South Australian railway stations]]
+
* [[List of closed railway stations in South Australia]]
 
}}
 
}}
  
Line 12: Line 12:
 
   | groupwidth  = 7em
 
   | groupwidth  = 7em
 
   | group1      = [[Belair railway line|Belair Line]]
 
   | group1      = [[Belair railway line|Belair Line]]
   | group1style = {{box-shadow border|r|#{{Adelaide color|Belair}}|0.4em}}
+
   | group1style = {{box-shadow border|r|#{{Adelaide Metro color|Belair}}|0.4em}}
 
   | list1      = {{#switch:{{{All|{{{Belair|}}}}}}|y=
 
   | list1      = {{#switch:{{{All|{{{Belair|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]
Line 31: Line 31:
 
   }}
 
   }}
 
   | group2      = [[Gawler railway line|Gawler Line]]
 
   | group2      = [[Gawler railway line|Gawler Line]]
   | group2style = {{box-shadow border|r|#{{Adelaide color|Gawler Central}}|0.4em}}
+
   | group2style = {{box-shadow border|r|#{{Adelaide Metro color|Gawler}}|0.4em}}
 
   | list2      = {{#switch:{{{All|{{{Gawler|}}}}}}|y=
 
   | list2      = {{#switch:{{{All|{{{Gawler|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]
Line 62: Line 62:
 
   }}
 
   }}
 
   | group3      = [[Grange railway line|Grange Line]]
 
   | group3      = [[Grange railway line|Grange Line]]
   | group3style = {{box-shadow border|r|#{{Adelaide color|Grange}}|0.4em}}
+
   | group3style = {{box-shadow border|r|#{{Adelaide Metro color|Grange}}|0.4em}}
 
   | list3      = {{#switch:{{{All|{{{Grange|}}}}}}|y=
 
   | list3      = {{#switch:{{{All|{{{Grange|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]
Line 77: Line 77:
 
   }}
 
   }}
 
   | group4      = [[Outer Harbor railway line|Outer Harbor Line]]
 
   | group4      = [[Outer Harbor railway line|Outer Harbor Line]]
   | group4style = {{box-shadow border|r|#{{Adelaide color|Outer Harbor}}|0.4em}}
+
   | group4style = {{box-shadow border|r|#{{Adelaide Metro color|Outer Harbor}}|0.4em}}
 
   | list4      = {{#switch:{{{All|{{{Outer Harbor|}}}}}}|y=
 
   | list4      = {{#switch:{{{All|{{{Outer Harbor|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]
Line 104: Line 104:
 
   }}
 
   }}
 
   | group5      = [[Seaford railway line|Seaford Line]]
 
   | group5      = [[Seaford railway line|Seaford Line]]
   | group5style = {{box-shadow border|r|#{{Adelaide color|Seaford}}|0.4em}}
+
   | group5style = {{box-shadow border|r|#{{Adelaide Metro color|Seaford}}|0.4em}}
 
   | list5      = {{#switch:{{{All|{{{Seaford|}}}}}}|y=
 
   | list5      = {{#switch:{{{All|{{{Seaford|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]
Line 132: Line 132:
 
   }}
 
   }}
 
   | group6      = [[Tonsley railway line|Tonsley Line]]
 
   | group6      = [[Tonsley railway line|Tonsley Line]]
   | group6style = {{box-shadow border|r|#{{Adelaide color|Tonsley}}|0.4em}}
+
   | group6style = {{box-shadow border|r|#{{Adelaide Metrocolor|Tonsley}}|0.4em}}
 
   | list6      = {{#switch:{{{All|{{{Tonsley|}}}}}}|y=
 
   | list6      = {{#switch:{{{All|{{{Tonsley|}}}}}}|y=
 
* [[Adelaide railway station|Adelaide]]
 
* [[Adelaide railway station|Adelaide]]

Revision as of 00:17, 19 September 2017

50px Template documentation[view] [edit] [history] [purge]

Template:Transport for New South Wales railway stations/related

{{Adelaide Metro railway stations|_|state=}}

{{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

Example 1

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:

{{Adelaide Metro railway stations|Grange=y}}

Example 2

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 Tonsley Line services, the "Belair Line", "Seaford Line", and "Tonsley Line" parameters are activated as follows, producing the after-seen result:

{{Adelaide Metro railway stations|Belair=y|Seaford=y|Tonsley=y}}

Parameters

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 six predecessor navbox templates, which now redirect to {{Adelaide Metro railway stations}}. They are as follows: