Difference between revisions of "Template:Cleveland Rapid"

From blackwiki
Jump to navigation Jump to search
imported>Cards84664
imported>Frietjes
(navbox syntax update)
Line 6: Line 6:
 
| image      = [[File:GCRTA wordmark logo.svg|60px|link=|alt=]]
 
| image      = [[File:GCRTA wordmark logo.svg|60px|link=|alt=]]
 
| imageleft  = [[File:GCRTA wordmark logo.svg|60px|link=|alt=]]
 
| imageleft  = [[File:GCRTA wordmark logo.svg|60px|link=|alt=]]
| titlestyle = background:#{{GCRTA color|rta}};color:white;
+
| basestyle  = background:#{{GCRTA color|rta}};color:white;
| groupstyle = background:white;color:black;border:1px solid black;
 
| belowstyle = background:#{{GCRTA color|rta}};color:white;
 
 
| below      = '''('''[[Rapid transit|{{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      = '''('''[[Rapid transit|{{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}}}}''')'''
 
| list1  =
 
| list1  =
Line 21: Line 19:
  
 
}}<noinclude>
 
}}<noinclude>
{{navbox
 
| state    = {{{state|expanded}}}
 
| name      = Cleveland Rapid
 
| title    = [[Greater Cleveland Regional Transit Authority]]
 
| listclass = hlist
 
 
| group1 = Trolley lines
 
| list1  =
 
* {{Color box|#{{GCRTA color|B}}}} '''B'''
 
* {{Color box|#{{GCRTA color|E}}}} '''E'''
 
* {{Color box|#{{GCRTA color|C}}}} '''C'''
 
* {{Color box|#{{GCRTA color|9/12}}}} '''9/12'''
 
 
| group2 = Bus Routes
 
| list2  =
 
* '''[[List of Cleveland RTA bus routes|List of bus routes]]'''
 
}}
 
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:RTA Rapid Transit templates]]
 
[[Category:RTA Rapid Transit templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:16, 16 January 2018

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.