Difference between revisions of "Template:Highways topics"

From blackwiki
Jump to navigation Jump to search
(Remove repeats.)
Line 25: Line 25:
 
|state  = autocollapsed
 
|state  = autocollapsed
 
|list2  = {{Navbox subgroups
 
|list2  = {{Navbox subgroups
  |groupstyle = padding:0.25em 0; line-height:1.1em; <!--as above--> width:8em; text-align:center; font-weight:normal;
+
  |groupstyle = line-height:1.1em; <!--as above--> width:8em; text-align:center; font-weight:normal;
 
  |liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole--> width:auto;
 
  |liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole--> width:auto;
  
Line 49: Line 49:
  
 
  |group4    = [[Pavement (material)|Surface]]s
 
  |group4    = [[Pavement (material)|Surface]]s
  |liststyle = padding:0.25em 0; line-height:1.4em; <!--as above-->
+
  |liststyle = line-height:1.4em; <!--as above-->
 
  |list4    = {{nowrap begin}} [[Asphalt concrete]]{{·w}} [[Brick]]{{·w}} [[Chipseal]]{{·w}} [[Cobblestone]]{{·w}} [[Concrete]]{{·w}} [[Corduroy road|Corduroy]]{{·w}} [[Dirt road|Dirt]]{{·w}} [[Gravel road|Gravel]]{{·w}} [[Ice road|Ice]]{{·w}} [[Macadam]]{{·w}} [[Bitumen|Oiled (bitumen)]]{{·w}} [[Plank road|Plank]]{{·w}} [[Tarmac]] {{nowrap end}}
 
  |list4    = {{nowrap begin}} [[Asphalt concrete]]{{·w}} [[Brick]]{{·w}} [[Chipseal]]{{·w}} [[Cobblestone]]{{·w}} [[Concrete]]{{·w}} [[Corduroy road|Corduroy]]{{·w}} [[Dirt road|Dirt]]{{·w}} [[Gravel road|Gravel]]{{·w}} [[Ice road|Ice]]{{·w}} [[Macadam]]{{·w}} [[Bitumen|Oiled (bitumen)]]{{·w}} [[Plank road|Plank]]{{·w}} [[Tarmac]] {{nowrap end}}
 
|below = [[List of road types by features]]
 
|below = [[List of road types by features]]

Revision as of 01:18, 4 May 2009


Initial visibility: currently defaults to autocollapse

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

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