Difference between revisions of "Template:Interstates"

From blackwiki
Jump to navigation Jump to search
imported>WikiRedactor
imported>Imzadi1979
(signed vs. unsigned is a better split)
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 [[Interstate Highway System|{{colors|white|#006a4d|Interstate Highways}}]]
| state = {{{state|autocollapse}}}
+
|state = {{{state|autocollapse}}}
| listclass = hlist
+
|listclass = hlist
| titlestyle = background:#006A4D; color:white;
+
|titlestyle = background:#006A4D; color:white;
| groupstyle = background:#006A4D; color:white;
+
|groupstyle = background:#006A4D; color:white;
| belowstyle = background:#FCD116;
+
|belowstyle = background:#FCD116;
  
|group1= Contiguous U.S.
+
|group1= Signed
 
|list1= * [[Interstate 2|2]]
 
|list1= * [[Interstate 2|2]]
 
* [[Interstate 4|4]]
 
* [[Interstate 4|4]]
Line 84: Line 84:
 
* [[Interstate 97|97]]
 
* [[Interstate 97|97]]
 
* [[Interstate 99|99]]
 
* [[Interstate 99|99]]
 +
* [[Interstate H-1|H-1]]
 +
* [[Interstate H-2|H-2]]
 +
* [[Interstate H-3|H-3]]
  
| group2 = Noncontiguous U.S.
+
| group2 = Unsigned
 
| list2 =  
 
| list2 =  
 
* [[Interstate Highways in Alaska|A-1]]
 
* [[Interstate Highways in Alaska|A-1]]
Line 91: Line 94:
 
* [[Interstate Highways in Alaska|A-3]]
 
* [[Interstate Highways in Alaska|A-3]]
 
* [[George Parks Highway|A-4]]
 
* [[George Parks Highway|A-4]]
* [[Interstate H-1|H-1]]
 
* [[Interstate H-2|H-2]]
 
* [[Interstate H-3|H-3]]
 
 
* [[Puerto Rico Highway 52|PRI-1]]
 
* [[Puerto Rico Highway 52|PRI-1]]
 
* [[Puerto Rico Highway 22|PRI-2]]
 
* [[Puerto Rico Highway 22|PRI-2]]

Revision as of 23:27, 21 March 2018

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.