Difference between revisions of "Template:London Overground navbox"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m
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}}}}}}
+
|titlestyle = {{#if:{{{All|{{{Shenfield<includeonly>|</includeonly>}}}}}}|{{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}}}}}}
 
|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}}

Revision as of 07:48, 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.