Jump to content

Template:Adelaide Metro railway stations/doc

From Humanipedia
Revision as of 05:27, 6 August 2024 by wikipedia>Nick Mitchell 98
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error in package.lua at line 80: module 'Module:Yesno' not found. 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

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:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

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

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"

Template:Col-break

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

Template:Col-end

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: Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-end