Difference between revisions of "Template:Central line navbox"

From blackwiki
Jump to navigation Jump to search
imported>DavidCane
(retarget link so appears bold on its name page)
imported>Lfdder
Line 2: Line 2:
 
|name = Central line navbox
 
|name = Central line navbox
 
|border = {{{border|{{{1|}}}}}}
 
|border = {{{border|{{{1|}}}}}}
|state = <includeonly>{{{state|collapsed}}}</includeonly><noinclude>uncollapsed</noinclude>
+
|state = {{{state|}}}
 
|title = [[Central line]]
 
|title = [[Central line]]
 
|bodyclass = hlist
 
|bodyclass = hlist
|groupstyle= vertical-align:top; white-space:nowrap; text-align:left; background:#cccccc;
 
 
|titlestyle= {{rail navbox titlestyle|#{{LUL color|Central}}}}
 
|titlestyle= {{rail navbox titlestyle|#{{LUL color|Central}}}}
|belowstyle= background:#cccccc;
 
  
 
|group1= Stations
 
|group1= Stations
|list1 =
+
|list1 = {{Navbox|subgroup
 +
|list1=
 
* [[Epping tube station|Epping]]
 
* [[Epping tube station|Epping]]
 
* [[Theydon Bois tube station|Theydon Bois]]
 
* [[Theydon Bois tube station|Theydon Bois]]
Line 42: Line 41:
 
* [[North Acton tube station|North Acton]]
 
* [[North Acton tube station|North Acton]]
  
{{Navbox|subgroup
+
  |group2= Hainault loop
  |groupstyle= vertical-align:top; text-align:left; background:#ebebeb; white-space:nowrap; min-width:14em;
+
  |list2 =
|group1= Hainault loop
 
  |group2= Ealing branch
 
|group3= Ruislip branch
 
|list1 =
 
 
* [[Roding Valley tube station|Roding Valley]]
 
* [[Roding Valley tube station|Roding Valley]]
 
* [[Chigwell tube station|Chigwell]]
 
* [[Chigwell tube station|Chigwell]]
Line 58: Line 53:
 
* [[Redbridge tube station|Redbridge]]
 
* [[Redbridge tube station|Redbridge]]
 
* [[Wanstead tube station|Wanstead]]
 
* [[Wanstead tube station|Wanstead]]
  |list2 =
+
  |group3= Ealing branch
 +
|list3 =
 
* [[Ealing Broadway station|Ealing Broadway]] {{rail-interchange|gb|rail}}
 
* [[Ealing Broadway station|Ealing Broadway]] {{rail-interchange|gb|rail}}
 
* [[West Acton tube station|West Acton]]
 
* [[West Acton tube station|West Acton]]
  |list3=
+
  |group4= Ruislip branc
 +
|list4 =
 
* [[Hanger Lane tube station|Hanger Lane]]
 
* [[Hanger Lane tube station|Hanger Lane]]
 
* [[Perivale tube station|Perivale]]
 
* [[Perivale tube station|Perivale]]
Line 70: Line 67:
 
* [[West Ruislip station|West Ruislip]] {{rail-interchange|gb|rail}}
 
* [[West Ruislip station|West Ruislip]] {{rail-interchange|gb|rail}}
 
}}
 
}}
 +
 
|group2= Rolling stock
 
|group2= Rolling stock
 
|list2 =
 
|list2 =
Line 76: Line 74:
 
|group3= History
 
|group3= History
 
|list3 = {{Navbox|subgroup
 
|list3 = {{Navbox|subgroup
|groupstyle= vertical-align:top; text-align:left; background:#ebebeb; white-space:nowrap; min-width:14em;
 
 
  |group1= Former stations
 
  |group1= Former stations
 
  |group2= Former companies
 
  |group2= Former companies

Revision as of 16:54, 5 May 2014

Initial visibility: currently defaults to autocollapse

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

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