Difference between revisions of "Template:Khatlon"

From blackwiki
Jump to navigation Jump to search
imported>Markussep
m
imported>Markussep
(update cities, subdivisions)
Line 1: Line 1:
{{Navbox
+
{{Navbox with collapsible groups
 
  | name = Khatlon Province
 
  | name = Khatlon Province
  | title = [[Image:Flag of Tajikistan.svg|25px|Flag of Tajikistan]] [[Khatlon Region]], [[Tajikistan]]
+
  | title = [[Image:Emblem_of_Tajikistan.svg|x17px|Emblem of Tajikistan]] [[Khatlon Region]] {{flagicon|Tajikistan}}
| state    = {{{state|autocollapse}}}
+
| listclass = hlist
|listclass = hlist
 
 
  | image = [[File:Tj3-kaart.png|160px]]
 
  | image = [[File:Tj3-kaart.png|160px]]
 +
| state = {{{state|expanded}}}
 +
|above = Capital: '''[[Qurghonteppa]]''' (Bokhtar)
 +
|group1= Cities
 +
|state1 = expanded
 +
|list1 =
 +
* [[Kulob]]
 +
* [[Levakant]]
 +
* [[Norak]]
 +
* [[Qurghonteppa]]
  
| group1 = Capital
+
|group2 = City subdivisions
| list1 =
+
|state2 = collapsed
* [[Qurghonteppa]] (Bokhtar)
+
|list2 =
 +
{{navbox|subgroup
 +
|group1 = [[Kulob]]
 +
|list1 =  
 +
*City: [[Kulob]]
 +
*Jamoats: [[Dahana, Khatlon|Dahana]]
 +
*Kulob
 +
*Zarbdor
 +
*Ziraki
 +
|group2 = [[Levakant]]
 +
|list2 =
 +
*City: [[Levakant]]
 +
*Jamoats: Guliston
 +
*Vahdat
 +
|group3 = [[Norak]]
 +
|list3 =
 +
*City: [[Norak]]
 +
*Jamoats: Dukoni
 +
*Pulisangin
 +
|group4 = [[Qurghonteppa]]
 +
|list4 =
 +
*City: [[Qurghonteppa]]
 +
}}
  
  | group2 = Districts
+
  | group3 = Districts
  | list2 =
+
  |state3 = expanded
 +
| list3 =
 
* [[Baljuvon District|Baljuvon]]
 
* [[Baljuvon District|Baljuvon]]
 
* [[Danghara District|Danghara]]
 
* [[Danghara District|Danghara]]
Line 24: Line 55:
 
* [[Khovaling District|Khovaling]]
 
* [[Khovaling District|Khovaling]]
 
* [[Khuroson District|Khuroson]]
 
* [[Khuroson District|Khuroson]]
* [[Kulob District|Kulob]]
 
 
* [[Mu'minobod District|Mu'minobod]]
 
* [[Mu'minobod District|Mu'minobod]]
* [[Norak District|Norak]]
 
 
* [[Panj District|Panj]]
 
* [[Panj District|Panj]]
 
* [[Qabodiyon District|Qabodiyon]]
 
* [[Qabodiyon District|Qabodiyon]]
* [[Sarband District|Sarband]]
 
 
* [[Shahrtuz District|Shahrtuz]]
 
* [[Shahrtuz District|Shahrtuz]]
 
* [[Shamsiddin Shohin District|Shamsiddin Shohin]]
 
* [[Shamsiddin Shohin District|Shamsiddin Shohin]]
Line 37: Line 65:
 
* [[Yovon District|Yovon]]
 
* [[Yovon District|Yovon]]
  
  | group3 = Main cities and towns
+
<!-- |group4 = District subdivisions
  | list3 =
+
|state4 = collapsed
 +
|list4 =
 +
{{navbox|subgroup
 +
|group1 =[[Baljuvon District|Baljuvon]]
 +
|list1 =
 +
*Town:
 +
*Jamoats:
 +
}} -->
 +
  | group5 = Main towns
 +
  | list5 =
 
* [[Bakhori]]
 
* [[Bakhori]]
 
* [[Baljuvon]]
 
* [[Baljuvon]]
Line 48: Line 85:
 
* [[Khovaling]]
 
* [[Khovaling]]
 
* [[Kolkhozobod]]
 
* [[Kolkhozobod]]
* [[Kulob]]
 
 
* [[Kuybyshevsk|Kuybyshev]]
 
* [[Kuybyshevsk|Kuybyshev]]
* [[Levakant]]
 
 
* [[Moskovskiy|Moskva]]
 
* [[Moskovskiy|Moskva]]
 
* [[Mu'minobod, Tajikistan|Mu'minobod]]
 
* [[Mu'minobod, Tajikistan|Mu'minobod]]
* [[Norak]]
 
 
* [[Panj]]
 
* [[Panj]]
 
* [[Qabodiyon]]
 
* [[Qabodiyon]]

Revision as of 08:28, 8 October 2020

Initial visibility: currently defaults to autocollapse

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

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