Difference between revisions of "Template:Cleveland Rapid"

From blackwiki
Jump to navigation Jump to search
imported>Dmartin969
(Light rail is still rapid transit, it must differentiate between light and heavy rail.)
imported>Dmartin969
(Always show preview kids)
Line 9: Line 9:
 
| groupstyle = background:white;color:black;border:1px solid black;
 
| groupstyle = background:white;color:black;border:1px solid black;
 
| belowstyle = background:#{{GCRTA color|rta}};color:white;
 
| belowstyle = background:#{{GCRTA color|rta}};color:white;
| below      = '''('''[[Heavy rail|{{color|white|'''Rapid Transit'''}}]] {{Color box|#{{GCRTA color|red}}}}''')''' '''('''[[Light rail|{{color|white|'''Light rail'''}}]] {{Color box|#{{GCRTA color|blue}}}} {{Color box|#{{GCRTA color|green}}}} {{Color box|#{{GCRTA color|Waterfront}}}}''')''' '''('''[[Bus rapid transit|{{color|white|'''Bus rapid transit'''}}]] {{Color box|#{{GCRTA color|HealthLine}}}} {{Color box|#{{GCRTA color|55}}}} {{Color box|#{{GCRTA color|51}}}}''')'''
+
| below      = '''('''[[Heavy rail|{{color|white|'''Heavy rail'''}}]] {{Color box|#{{GCRTA color|red}}}}''')''' '''('''[[Light rail|{{color|white|'''Light rail'''}}]] {{Color box|#{{GCRTA color|blue}}}} {{Color box|#{{GCRTA color|green}}}} {{Color box|#{{GCRTA color|Waterfront}}}}''')''' '''('''[[Bus rapid transit|{{color|white|'''Bus rapid transit'''}}]] {{Color box|#{{GCRTA color|HealthLine}}}} {{Color box|#{{GCRTA color|55}}}} {{Color box|#{{GCRTA color|51}}}}''')'''
 
| list1  =
 
| list1  =
 
<!-- Labels with this design have been sighted before on the R/B/G rapid lines; BRT labels are assumed-->
 
<!-- Labels with this design have been sighted before on the R/B/G rapid lines; BRT labels are assumed-->

Revision as of 00:14, 8 November 2017

Initial visibility: currently defaults to autocollapse

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

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