Difference between revisions of "Template:London Overground navbox"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (→‎top: fixed borders, replaced: → , border-right: 0.5em solid #{{LOG color}} → {{box-shadow border|r|#{{LOG color}}|0.5em}} (8) using AWB)
imported>Colonies Chris
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 74: Line 74:
 
* {{stn|West Croydon}}
 
* {{stn|West Croydon}}
 
  }}
 
  }}
  |group3 = [[Gospel Oak to Barking Line]]
+
  |group3 = [[Gospel Oak to Barking line]]
 
  |group3style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group3style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
Line 90: Line 90:
 
* {{stn|Barking}}
 
* {{stn|Barking}}
 
  }}
 
  }}
  |group4 = [[Watford DC Line]]
+
  |group4 = [[Watford DC line]]
 
  |group4style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group4style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
Line 96: Line 96:
 
* {{rws|South Hampstead}}
 
* {{rws|South Hampstead}}
 
* {{rws|Kilburn High Road}}
 
* {{rws|Kilburn High Road}}
* [[Queen's Park (London) station|Queen's Park]]
+
* [[Queens Park (London) station|Queens Park]]
 
* {{stn|Kensal Green}}
 
* {{stn|Kensal Green}}
 
* {{stn|Willesden Junction}}
 
* {{stn|Willesden Junction}}
Line 113: Line 113:
 
* {{rws|Watford Junction}}
 
* {{rws|Watford Junction}}
 
  }}
 
  }}
  |group5 = [[Chingford Branch Line|Chingford Line]]
+
  |group5 = [[Chingford branch line|Chingford line]]
 
  |group5style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group5style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
Line 126: Line 126:
 
* {{rws|Chingford}}
 
* {{rws|Chingford}}
 
  }}
 
  }}
  |group6 = [[Lea Valley Lines|Enfield & Cheshunt Line]]
+
  |group6 = [[Enfield & Cheshunt line]]
 
  |group6style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group6style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
Line 150: Line 150:
 
* {{rws|Cheshunt}}
 
* {{rws|Cheshunt}}
 
  }}
 
  }}
  |group7 = [[Romford to Upminster Line]]
+
  |group7 = [[Romford–Upminster line]]
 
  |group7style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |group7style = {{box-shadow border|r|#{{LOG color}}|0.5em}}
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
Line 157: Line 157:
 
* {{stn|Upminster}}
 
* {{stn|Upminster}}
 
  }}
 
  }}
  |group8 = [[Great Eastern Main Line|Shenfield Metro Line]]
+
  |group8 = [[Shenfield Metro line]]
 
  |group8style = {{box-shadow border|r|#{{LCR color|Shenfield}}|0.5em}}
 
  |group8style = {{box-shadow border|r|#{{LCR color|Shenfield}}|0.5em}}
 
  |list8  = {{#if:{{{All|{{{Shenfield<includeonly>|</includeonly>}}}}}}|
 
  |list8  = {{#if:{{{All|{{{Shenfield<includeonly>|</includeonly>}}}}}}|

Revision as of 21:54, 11 July 2017

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.