Difference between revisions of "Template:Highways of Namibia"

From blackwiki
Jump to navigation Jump to search
imported>Ron2K
(recategorized to take A1 freeway into consideration (even though A1 page doesn't yet exist...))
imported>Ron2K
(added B11 and B14)
Line 2: Line 2:
 
|name = Highways of Namibia
 
|name = Highways of Namibia
 
|title = [[Image:Flag of Namibia.svg|20px|Flag of Namibia]] [[Roads in Namibia|{{color|#FFFFFF|Highways in Namibia}}]]  
 
|title = [[Image:Flag of Namibia.svg|20px|Flag of Namibia]] [[Roads in Namibia|{{color|#FFFFFF|Highways in Namibia}}]]  
|listclass = hlist
+
|state   = {{{state|}}}
|state = {{{state|}}}
+
|bodyclass = hlist
|image  =
+
|image  = [[Image:Schild_A1_NA.svg|40px]]
 
|titlestyle = background:#000080;color:#FFFFFF;
 
|titlestyle = background:#000080;color:#FFFFFF;
 
|group1  = Freeways
 
|group1  = Freeways
Line 18: Line 18:
 
* [[B8 road (Namibia)|B8]]
 
* [[B8 road (Namibia)|B8]]
 
* [[B10 road (Namibia)|B10]]
 
* [[B10 road (Namibia)|B10]]
 +
* [[B11 road (Namibia)|B11]]
 +
* [[B14 road (Namibia)|B14]]
 
* [[B15 road (Namibia)|B15]]
 
* [[B15 road (Namibia)|B15]]
* [[Trans-Caprivi Highway]]
 
* [[Trans-Kalahari Corridor]]
 
 
|group3 = Secondary routes
 
|group3 = Secondary routes
 
|list3=
 
|list3=
Line 63: Line 63:
 
* [[C48 road (Namibia)|C48]]
 
* [[C48 road (Namibia)|C48]]
 
* [[C49 road (Namibia)|C49]]  
 
* [[C49 road (Namibia)|C49]]  
 +
|group4  = International routes
 +
|list4  =
 +
* [[Trans-Caprivi Highway]]
 +
* [[Trans-Kalahari Corridor]]
 +
* [[Tripoli-Cape Town Highway]]
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 04:52, 1 July 2020

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.