Difference between revisions of "Template:KwaZulu-Natal Province"

From blackwiki
Jump to navigation Jump to search
imported>CommonsDelinker
m (Removing "Coat_of_arms_of_KwaZulu-Natal.svg", it has been deleted from Commons by Fastily because: commons:Commons:Deletion requests/Files in Category:PD-South-Africa-exempt.)
(formatting, state handling)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name       = KwaZulu-Natal Province
+
|name = KwaZulu-Natal Province
|state     = {{{state<includeonly>|autocollapse</includeonly>}}}
+
|state = {{{state<includeonly>|{{{1|autocollapse}}}</includeonly>}}}
|title     = [[Provinces of South Africa|Province]] of [[KwaZulu-Natal]]
+
|title = [[Provinces of South Africa|Province]] of [[KwaZulu-Natal]]
|image      =  
+
|listclass  = hlist
  
 
|aboveclass = hlist
 
|aboveclass = hlist
|above     =
+
|above =
* Capital: [[Pietermaritzburg]]
+
* Capital [[Pietermaritzburg]]
* Largest city: [[Durban]]
+
* Largest city [[Durban]]
* Population: [[List of South African provinces by population|10,819,130]] (2011)
+
* Population [[List of South African provinces by population|10,819,130]] {{smaller|(2011)}}
* Land area: [[List of South African provinces by area|94,361 km<sup>2</sup>]]
+
* Land area [[List of South African provinces by area|94,361 km²]]
 
 
|listclass  = hlist
 
  
 
|group1 = Topics
 
|group1 = Topics
Line 31: Line 29:
  
 
|group3 = History
 
|group3 = History
|list3 =  
+
|list3 =
 
* [[Zulu Kingdom]]
 
* [[Zulu Kingdom]]
 
* [[Natalia Republic]]
 
* [[Natalia Republic]]
Line 38: Line 36:
 
* [[KwaZulu]]
 
* [[KwaZulu]]
  
|group4 = [[List of cities and towns in KwaZulu-Natal|Cities and<br>major towns]]
+
|group4 = {{longitem|[[List of cities and towns in KwaZulu-Natal|Cities and<br/>major towns]]}}
|list4 =  
+
|list4 =
 
* [[Durban]]
 
* [[Durban]]
 
* [[Pietermaritzburg]]
 
* [[Pietermaritzburg]]
Line 50: Line 48:
 
* [[Kokstad, KwaZulu-Natal|Kokstad]]
 
* [[Kokstad, KwaZulu-Natal|Kokstad]]
 
* [[Vryheid]]
 
* [[Vryheid]]
 +
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
 
 +
{{collapsible option |statename=optional}}
 +
 
 
[[Category:South Africa province templates]]
 
[[Category:South Africa province templates]]
[[Category:KwaZulu-Natal|μ]]
+
[[Category:KwaZulu-Natal|τ]]
 
</noinclude>
 
</noinclude>

Revision as of 11:27, 27 March 2014

Initial visibility: currently defaults to autocollapse

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

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