Difference between revisions of "Template:London Overground navbox"

From blackwiki
Jump to navigation Jump to search
imported>Likelife
(+LO Night Service)
imported>Nick Mitchell 98
m (Link corrections)
Line 8: Line 8:
 
|group1 = {{#if:{{{All|{{{Serving<includeonly>|</includeonly>}}}}}}|London Overground or TfL Rail routes serving this station}}
 
|group1 = {{#if:{{{All|{{{Serving<includeonly>|</includeonly>}}}}}}|London Overground or TfL Rail routes serving this station}}
 
|list1 = {{navbox|subgroup
 
|list1 = {{navbox|subgroup
  |group1 = [[North London line|North London]] and<br />[[West London Line|West London]] lines
+
  |group1 = [[North London line|North London]] and<br />[[West London line|West London]] lines
 
  |group1style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group1style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
Line 40: Line 40:
 
* {{stn|Stratford}}
 
* {{stn|Stratford}}
 
  }}
 
  }}
  |group2 = [[East London Line]] and<br />[[South London Line]]
+
  |group2 = [[East London line|East London]] and<br />[[South London line|South London]] lines
 
  |group2style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group2style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|

Revision as of 11:50, 28 March 2018

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{London Overground navbox|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{London Overground navbox|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{London Overground navbox|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.