Difference between revisions of "Template:London Overground navbox"

From blackwiki
Jump to navigation Jump to search
imported>Nick Mitchell 98
(Adding interchange icons in line with Underground, Tramlink and Crossrail navbox templates)
imported>Nick Mitchell 98
(Removing TfL Rail as discussed on talk page.)
Line 1: Line 1:
 
{{navbox with collapsible groups
 
{{navbox with collapsible groups
 
|name  = London Overground navbox
 
|name  = London Overground navbox
|title = [[London Overground]] & [[TfL Rail]]
+
|title = [[London Overground]]
 
|state = <includeonly>{{{state|collapsed}}}</includeonly><noinclude>uncollapsed</noinclude>
 
|state = <includeonly>{{{state|collapsed}}}</includeonly><noinclude>uncollapsed</noinclude>
 
|bodyclass = hlist
 
|bodyclass = hlist
|titlestyle = {{#if:{{{All|{{{Shenfield<includeonly>|</includeonly>}}}{{{GWRelief|}}}}}}|{{rail navbox titlestyle|#{{LCR color|Shenfield}}|{{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}{{{ELL|}}}{{{GOBLIN|}}}{{{Watford|}}}{{{Chingford|}}}{{{SevenSisters|}}}{{{Emerson|}}}}}}|3|µ}}=#{{LOG color}}}}|{{rail navbox titlestyle|#{{LOG color}}}}}}
+
|titlestyle = {{rail navbox titlestyle|#{{LUL color|London Overground}}}}
 
|state1  = plain
 
|state1  = plain
|group1 = {{#if:{{{All|{{{Serving<includeonly>|</includeonly>}}}}}}|London Overground or TfL Rail routes serving this station}}
+
|group1 = {{#if:{{{All|{{{Serving<includeonly>|</includeonly>}}}}}}|London Overground 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}}
 
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
 
* [[Richmond (London) station|Richmond]] {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
 
* [[Richmond (London) station|Richmond]] {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
Line 41: Line 40:
 
  }}
 
  }}
 
  |group2 = [[East London line|East London]] and<br />[[South London line|South London]] lines
 
  |group2 = [[East London line|East London]] and<br />[[South London line|South London]] lines
|group2style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|
 
* {{stn|Highbury & Islington}}
 
* {{stn|Highbury & Islington}}
Line 75: Line 73:
 
  }}
 
  }}
 
  |group3 = [[Gospel Oak to Barking line]]
 
  |group3 = [[Gospel Oak to Barking line]]
|group3style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
 
* {{rws|Gospel Oak}}
 
* {{rws|Gospel Oak}}
Line 91: Line 88:
 
  }}
 
  }}
 
  |group4 = [[Watford DC line]]
 
  |group4 = [[Watford DC line]]
|group4style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
 
* [[Euston railway station|London Euston]] {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
 
* [[Euston railway station|London Euston]] {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
Line 114: Line 110:
 
  }}
 
  }}
 
  |group5 = [[Chingford branch line|Chingford line]]
 
  |group5 = [[Chingford branch line|Chingford line]]
|group5style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
 
* [[Liverpool Street station|London Liverpool Street]] {{rail-interchange|london|underground}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
 
* [[Liverpool Street station|London Liverpool Street]] {{rail-interchange|london|underground}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
Line 127: Line 122:
 
  }}
 
  }}
 
  |group6 = [[Enfield & Cheshunt line]]
 
  |group6 = [[Enfield & Cheshunt line]]
|group6style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
 
* [[Liverpool Street station|London Liverpool Street]] {{rail-interchange|london|underground}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
 
* [[Liverpool Street station|London Liverpool Street]] {{rail-interchange|london|underground}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
Line 151: Line 145:
 
  }}
 
  }}
 
  |group7 = [[Romford–Upminster line]]
 
  |group7 = [[Romford–Upminster line]]
|group7style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
 
* {{rws|Romford}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
 
* {{rws|Romford}} {{rail-interchange|london|crossrail}} {{rail-interchange|gb|rail}}
Line 157: Line 150:
 
* {{stn|Upminster}} {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
 
* {{stn|Upminster}} {{rail-interchange|london|underground}} {{rail-interchange|gb|rail}}
 
  }}
 
  }}
|group8 = [[Great Eastern Main Line|Liverpool Street–Shenfield line]]
 
|group8style = {{box-shadow border|r|#{{LCR color|Shenfield}}|0.5em}}
 
|list8  = {{#if:{{{All|{{{Shenfield<includeonly>|</includeonly>}}}}}}|
 
* [[Liverpool Street station|London Liverpool Street]]
 
*{{stn|Stratford}}
 
*{{rws|Maryland}}
 
*{{rws|Forest Gate}}
 
*{{rws|Manor Park}}
 
*{{rws|Ilford}}
 
*{{rws|Seven Kings}}
 
*{{rws|Goodmayes}}
 
*{{rws|Chadwell Heath}}
 
*{{rws|Romford}}
 
*{{rws|Gidea Park}}
 
*{{rws|Harold Wood}}
 
*{{rws|Brentwood}}
 
*{{rws|Shenfield}}
 
}}
 
|group9 = [[Great Western Main Line|Paddington–Heathrow line]]
 
|group9style = {{box-shadow border|r|#{{LCR color|Shenfield}}|0.5em}}
 
|list9  = {{#if:{{{All|{{{GWRelief<includeonly>|</includeonly>}}}}}}|
 
*[[London Paddington station|London Paddington]]
 
*{{rws|Acton Main Line}}
 
*{{stn|Ealing Broadway}}
 
*{{rws|West Ealing}}
 
*{{rws|Hanwell}}
 
*{{rws|Southall}}
 
*{{rws|Hayes & Harlington}}
 
*{{rws|Heathrow Central}}
 
*{{rws|Heathrow Terminal 4}}
 
}}
 
 
  |below = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|Stations in ''italics'' have a limited service.}}
 
  |below = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|Stations in ''italics'' have a limited service.}}
 
}}
 
}}
Line 217: Line 179:
 
* [[British Rail Class 315|Class 315]]
 
* [[British Rail Class 315|Class 315]]
 
* [[British Rail Class 317|Class 317]]
 
* [[British Rail Class 317|Class 317]]
* [[British Rail Class 345|Class 345]]
 
* {{BRC|360}}
 
 
* [[British Rail Class 378|Class 378]]
 
* [[British Rail Class 378|Class 378]]
 
   |group2 = Former
 
   |group2 = Former
Line 227: Line 187:
 
   |group3 = Future
 
   |group3 = Future
 
   |list3  =
 
   |list3  =
* [[British Rail Class 710|Class 710]]
+
* [[British Rail Class 710|Class 710]] (from Nov 2018)
 
  }}
 
  }}
 
  |group3 = Operations
 
  |group3 = Operations

Revision as of 07:35, 29 June 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.