Difference between revisions of "Template:Highways of Namibia"

From blackwiki
Jump to navigation Jump to search
imported>Eberack
imported>Ron2K
(recategorized to take A1 freeway into consideration (even though A1 page doesn't yet exist...))
Line 6: Line 6:
 
|image  =
 
|image  =
 
|titlestyle = background:#000080;color:#FFFFFF;
 
|titlestyle = background:#000080;color:#FFFFFF;
|group1  = National Highways
+
|group1  = Freeways
 
|list1  =
 
|list1  =
 +
* [[A1 road (Namibia)|A1]]
 +
|group2  = Trunk routes
 +
|list2  =
 
* [[B1 road (Namibia)|B1]]
 
* [[B1 road (Namibia)|B1]]
 
* [[B2 road (Namibia)|B2]]
 
* [[B2 road (Namibia)|B2]]
Line 18: Line 21:
 
* [[Trans-Caprivi Highway]]
 
* [[Trans-Caprivi Highway]]
 
* [[Trans-Kalahari Corridor]]
 
* [[Trans-Kalahari Corridor]]
|group2 = Main roads
+
|group3 = Secondary routes
|list2=
+
|list3=
 
* [[C10 road (Namibia)|C10]]
 
* [[C10 road (Namibia)|C10]]
 
* [[C11 road (Namibia)|C11]]
 
* [[C11 road (Namibia)|C11]]

Revision as of 03:34, 12 March 2019

Initial visibility: currently defaults to autocollapse

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

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