Template:Sound Transit railway stations/doc

From Wikipedia, the free encyclopedia
{{Sound Transit railway stations|_|state=}}

{{Sound Transit 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 Sound Transit, a public transport operator in the Puget Sound region of Washington. The navbox is divided into two sections, one for Sound Transit's Sounder commuter rail services, and one for its Link light rail services. Both sections are divided into various groups representing each route serviced by each service. The Sounder section has two groups, listing the stations of its North and South Line services, while the Link section has three sections listing the stations of its three current and future 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 King Street Station, which is a station currently operated by Sounder commuter rail's North and South Line services, the North and South parameters are activated as follows, producing the after-seen result:

{{Sound Transit railway stations|North=y|South=y}}

Example 2[edit]

On the article for Tacoma Dome Station, which is a station currently operated by Sounder commuter rail's South Line and Link light rail's Tacoma Link services, the South and Tacoma parameters are activated as follows, producing the after-seen result:

{{Sound Transit railway stations|South=y|Tacoma=y}}

Parameters[edit]

Main parameters[edit]

Service Parameter
  1 Line 1 Line
  2 Line 2 Line
  3 Line 3 Line
  4 Line 4 Line
  T Line T Line
  N Line N Line
  S Line S Line
  North Line North
  South Line South
  Blue Line Blue
  Central Link Central
  Tacoma Link Tacoma

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.