Difference between revisions of "Template:Interstates"

From blackwiki
Jump to navigation Jump to search
imported>Rschen7754
(should we add every other number and explain why that doesn't exist too?)
imported>PK2
m
 
Line 1: Line 1:
 
<!--By official AASHTO definition, all interstates that are multiples of 5 are major, regardless of length. -->{{Navbox
 
<!--By official AASHTO definition, all interstates that are multiples of 5 are major, regardless of length. -->{{Navbox
 
|name = Interstates
 
|name = Interstates
|title = [[File:I-blank.svg|25px|link=Interstate Highway System#Interstate shield|alt=Blank Interstate shield]] Primary [[Interstate Highway System|{{colors|white|#006a4d|Interstate Highways}}]]
+
|title = [[File:I-blank.svg|25px|link=Interstate Highway System#Interstate shield|alt=Blank Interstate shield]] Primary {{colored link|white|Interstate Highway System|Interstate Highways}}
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|titlestyle = background:#006A4D; color:white;
+
|basestyle = background:#006A4D; color:white;
|groupstyle = background:#006A4D; color:white;
+
|belowstyle = background:#FCD116; color:black;
|belowstyle = background:#FCD116;
 
  
 
|group1= Signed
 
|group1= Signed

Latest revision as of 22:28, 10 September 2020

Initial visibility: currently defaults to autocollapse

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

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