Difference between revisions of "Template:London Overground navbox"

From blackwiki
Jump to navigation Jump to search
imported>Peterwhy
m (Shenfield line colour)
imported>Jc86035
m
Line 5: Line 5:
 
|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>}}}}}}|{{rail navbox titlestyle|#{{LCR color|Shenfield}}||{{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}{{{ELL|}}}{{{GOBLIN|}}}{{{Watford|}}}{{{Chingford|}}}{{{SevenSisters|}}}{{{Emerson|}}}}}}|#{{LOG color}}}}}}|{{rail navbox titlestyle|#{{LOG color}}}}}}
 
|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 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 = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group1style = border-right: 0.5em solid #{{LOG color}}
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
 
  |list1  = {{#if:{{{All|{{{NLL<includeonly>|</includeonly>}}}}}}|
 
* [[Richmond (London) station|Richmond]]
 
* [[Richmond (London) station|Richmond]]
Line 41: Line 42:
 
  }}
 
  }}
 
  |group2 = [[East London Line]]
 
  |group2 = [[East London Line]]
  |group2style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group2style = border-right: 0.5em solid #{{LOG color}}
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|
 
  |list2  = {{#if:{{{All|{{{ELL<includeonly>|</includeonly>}}}}}}|
 
* {{stn|Highbury & Islington}}
 
* {{stn|Highbury & Islington}}
Line 75: Line 76:
 
  }}
 
  }}
 
  |group3 = [[Gospel Oak to Barking Line]]
 
  |group3 = [[Gospel Oak to Barking Line]]
  |group3style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group3style = border-right: 0.5em solid #{{LOG color}}
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
 
  |list3  = {{#if:{{{All|{{{GOBLIN<includeonly>|</includeonly>}}}}}}|
 
* {{rws|Gospel Oak}}
 
* {{rws|Gospel Oak}}
Line 91: Line 92:
 
  }}
 
  }}
 
  |group4 = [[Watford DC Line]]
 
  |group4 = [[Watford DC Line]]
  |group4style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group4style = border-right: 0.5em solid #{{LOG color}}
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
 
  |list4  = {{#if:{{{All|{{{Watford<includeonly>|</includeonly>}}}}}}|
 
* [[Euston railway station|London Euston]]
 
* [[Euston railway station|London Euston]]
Line 114: Line 115:
 
  }}
 
  }}
 
  |group5 = [[Chingford Branch Line|Chingford Line]]
 
  |group5 = [[Chingford Branch Line|Chingford Line]]
  |group5style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group5style = border-right: 0.5em solid #{{LOG color}}
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
 
  |list5  = {{#if:{{{All|{{{Chingford<includeonly>|</includeonly>}}}}}}|
 
* [[Liverpool Street station|London Liverpool Street]]
 
* [[Liverpool Street station|London Liverpool Street]]
Line 127: Line 128:
 
  }}
 
  }}
 
  |group6 = [[Lea Valley Lines|Enfield & Cheshunt Line]]
 
  |group6 = [[Lea Valley Lines|Enfield & Cheshunt Line]]
  |group6style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group6style = border-right: 0.5em solid #{{LOG color}}
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
 
  |list6  = {{#if:{{{All|{{{SevenSisters<includeonly>|</includeonly>}}}}}}|
 
* [[Liverpool Street station|London Liverpool Street]]
 
* [[Liverpool Street station|London Liverpool Street]]
Line 151: Line 152:
 
  }}
 
  }}
 
  |group7 = [[Romford to Upminster Line]]
 
  |group7 = [[Romford to Upminster Line]]
  |group7style = border-right: 0.5em solid #{{LUL color|London Overground}}
+
  |group7style = border-right: 0.5em solid #{{LOG color}}
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
 
  |list7  = {{#if:{{{All|{{{Emerson<includeonly>|</includeonly>}}}}}}|
 
* {{rws|Romford}}
 
* {{rws|Romford}}

Revision as of 07:45, 17 March 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.