Difference between revisions of "Template:Highways topics"

From blackwiki
Jump to navigation Jump to search
(General Cleanup.)
Line 8: Line 8:
 
|group1 = Highways topics
 
|group1 = Highways topics
 
|list1  = {{Navbox subgroup
 
|list1  = {{Navbox subgroup
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
 
|liststyle = padding:0.25em 0; line-height:1.4em; <!--as above-->
 
 
  |state  = autocollapsed
 
  |state  = autocollapsed
  
Line 25: Line 23:
 
|state  = autocollapsed
 
|state  = autocollapsed
 
|list2  = {{Navbox subgroups
 
|list2  = {{Navbox subgroups
  |groupstyle = line-height:1.1em; <!--as above--> width:8em; text-align:center; font-weight:normal;
+
|group1 = High-speed
 +
|list1  = {{Navbox subgroups
 +
  |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;
  
|group1 = High-speed
 
|list1  = {{Navbox subgroups
 
 
   |group1 = Access via<br/>[[Interchange (road)|interchange]]s
 
   |group1 = Access via<br/>[[Interchange (road)|interchange]]s
 
   |list1  = {{nowrap begin}} [[Autobahn]]{{·w}} [[Autocesta]]{{·w}} [[Autopista]]{{·w}} [[Autostrada]]{{·w}} [[Autostrasse]]{{·w}} [[Auto-estrada]]{{·w}} [[Freeway]]{{·w}} [[Motorway]]{{·w}} [[Semi-highway]]{{·w}} [[High-quality dual carriageway|HQDC]]{{nowrap end}}
 
   |list1  = {{nowrap begin}} [[Autobahn]]{{·w}} [[Autocesta]]{{·w}} [[Autopista]]{{·w}} [[Autostrada]]{{·w}} [[Autostrasse]]{{·w}} [[Auto-estrada]]{{·w}} [[Freeway]]{{·w}} [[Motorway]]{{·w}} [[Semi-highway]]{{·w}} [[High-quality dual carriageway|HQDC]]{{nowrap end}}
Line 35: Line 33:
 
   |list2  = {{nowrap begin}} [[Arterial road]]{{·w}} [[Collector/distributor road]]{{·w}} [[Distributor road]]{{·w}} [[Dual carriageway|Dual carriageway/divided highway]]{{·w}} [[Express-collector|Express-collector setup]]{{·w}} [[Expressway]]{{·w}} [[Farm-to-market road]]{{·w}} [[Highway]]{{·w}} [[Link road]]{{·w}} [[Parkway]]{{·w}} [[Super two]]{{·w}} [[Two-lane expressway]]{{·w}} [[2+1 road]]{{·w}} [[2+2 road]]{{nowrap end}}
 
   |list2  = {{nowrap begin}} [[Arterial road]]{{·w}} [[Collector/distributor road]]{{·w}} [[Distributor road]]{{·w}} [[Dual carriageway|Dual carriageway/divided highway]]{{·w}} [[Express-collector|Express-collector setup]]{{·w}} [[Expressway]]{{·w}} [[Farm-to-market road]]{{·w}} [[Highway]]{{·w}} [[Link road]]{{·w}} [[Parkway]]{{·w}} [[Super two]]{{·w}} [[Two-lane expressway]]{{·w}} [[2+1 road]]{{·w}} [[2+2 road]]{{nowrap end}}
 
}}
 
}}
 +
<!---Highspeed end-->
 +
 
  |group2 = Low-speed
 
  |group2 = Low-speed
 
  |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 = padding:0.25em 0; line-height:1.1em; <!--as above--> width:8em; text-align:center; font-weight:normal;
 
   |liststyle  = padding:0.25em 0; line-height:1.4em; <!--as above--> width:auto;
 
   |liststyle  = padding:0.25em 0; line-height:1.4em; <!--as above--> width:auto;
 +
 
   |group1 = Standard
 
   |group1 = Standard
 
   |list1  = {{nowrap begin}} [[Boulevard]]{{·w}} [[Business route]]{{·w}} [[Frontage road]]{{·w}} [[Regional road]]{{·w}} [[Road]]{{·w}} [[Single carriageway]]{{·w}} [[Street]]{{nowrap end}}
 
   |list1  = {{nowrap begin}} [[Boulevard]]{{·w}} [[Business route]]{{·w}} [[Frontage road]]{{·w}} [[Regional road]]{{·w}} [[Road]]{{·w}} [[Single carriageway]]{{·w}} [[Street]]{{nowrap end}}
Line 44: Line 45:
 
   |list2  = {{nowrap end}} [[Alley]]{{·w}} [[Backroad]]{{·w}} [[Cul-de-sac]]{{·w}} [[Driveway]]{{·w}} [[Lane]]{{·w}} [[Primitive road]]{{·w}} [[Range road]]{{nowrap end}}
 
   |list2  = {{nowrap end}} [[Alley]]{{·w}} [[Backroad]]{{·w}} [[Cul-de-sac]]{{·w}} [[Driveway]]{{·w}} [[Lane]]{{·w}} [[Primitive road]]{{·w}} [[Range road]]{{nowrap end}}
 
}}
 
}}
 +
<!---Lowspeed end-->
 +
 
  |group3 = Other
 
  |group3 = Other
 
  |list3style = padding:0.25em 0; line-height:1.4em; <!--as above-->
 
  |list3style = padding:0.25em 0; line-height:1.4em; <!--as above-->

Revision as of 21:40, 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.