Difference between revisions of "Template:Australian rail"

From blackwiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
|name      = Australian rail
 
|name      = Australian rail
 
|title    = {{flagdeco|Australia}} [[Rail transport in Australia]]
 
|title    = {{flagdeco|Australia}} [[Rail transport in Australia]]
|image    = [[Image:Passenger rail services in Australia en.png|121px|class=noviewer]]
+
|image    = [[Image:Passenger rail services in Australia en.png|100px|class=noviewer]]
 
|state    = {{{state|uncollapsed}}}
 
|state    = {{{state|uncollapsed}}}
 
|listclass = hlist
 
|listclass = hlist
Line 25: Line 25:
 
|group3 = Stations
 
|group3 = Stations
 
|list3  =  
 
|list3  =  
*Sydney ([[List of Sydney Trains railway stations|Sydney Trains]]{{dot}}[[List of Sydney Metro railway stations|Sydney Metro]]) and [[List of NSW TrainLink railway stations|New South Wales]]
+
*Sydney ([[List of Sydney Trains railway stations|Sydney Trains]]{{dot}}[[List of Sydney Metro stations|Sydney Metro]]) and [[List of NSW TrainLink railway stations|New South Wales]]
 
*[[List of railway stations in Melbourne|Melbourne]] and [[List of regional railway stations in Victoria|Victoria]]
 
*[[List of railway stations in Melbourne|Melbourne]] and [[List of regional railway stations in Victoria|Victoria]]
 
*[[Rail network in South East Queensland|Brisbane and South East Queensland]]
 
*[[Rail network in South East Queensland|Brisbane and South East Queensland]]

Latest revision as of 07:11, 1 May 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Australian rail|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Australian rail|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Australian rail|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.