Difference between revisions of "Template:Districts of Khyber Pakhtunkhwa"

From blackwiki
Jump to navigation Jump to search
(direct link)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Districts of Khyber Pakhtunkhwa
 
| name = Districts of Khyber Pakhtunkhwa
| title = [[List of districts of Pakistan|Districts]] of [[Khyber Pakhtunkhwa]]
+
| title = [[Districts of Khyber Pakhtunkhwa]]
 
| state = {{{state|expanded}}}
 
| state = {{{state|expanded}}}
 
| listclass = hlist
 
| listclass = hlist
| image = [[File:Khyber Pakhtunkhwa Districts.svg|100px]]
+
| image = [[File:Districts of Khyber Pakhtunkhwa, Pakistan.png|200px]]
 
| above = Provincial capital: [[Peshawar]]
 
| above = Provincial capital: [[Peshawar]]
 
| group0 = Divisions
 
| group0 = Divisions
Line 12: Line 12:
 
* [[Bannu District|Bannu]]
 
* [[Bannu District|Bannu]]
 
* [[Lakki Marwat District|Lakki Marwat]]
 
* [[Lakki Marwat District|Lakki Marwat]]
 +
* [[North Waziristan|North Waziristan]]
  
 
| group2 = [[Dera Ismail Khan Division|Dera Ismail Khan]]
 
| group2 = [[Dera Ismail Khan Division|Dera Ismail Khan]]
 
| list2 =
 
| list2 =
 
* [[Dera Ismail Khan District|Dera Ismail Khan]]
 
* [[Dera Ismail Khan District|Dera Ismail Khan]]
 +
* [[South Waziristan|South Waziristan]]
 
* [[Tank District|Tank]]
 
* [[Tank District|Tank]]
  
Line 23: Line 25:
 
* [[Battagram District|Battagram]]
 
* [[Battagram District|Battagram]]
 
* [[Haripur District|Haripur]]
 
* [[Haripur District|Haripur]]
* [[Kolai Pallas]]
+
* [[Kolai-Palas District|Kolai Palas]]
 
* [[Lower Kohistan District|Lower Kohistan]]
 
* [[Lower Kohistan District|Lower Kohistan]]
 
* [[Mansehra District|Mansehra]]
 
* [[Mansehra District|Mansehra]]
Line 34: Line 36:
 
* [[Karak District|Karak]]
 
* [[Karak District|Karak]]
 
* [[Kohat District|Kohat]]
 
* [[Kohat District|Kohat]]
 +
* [[Kurram District|Kurram]]
 +
* [[Orakzai District|Orakzai]]
  
| group5 = [[Khyber Division|Khyber]]
+
| group5 = [[Malakand Division|Malakand]]
 
| list5 =
 
| list5 =
 
* [[Bajaur District|Bajaur]]
 
* [[Bajaur District|Bajaur]]
* [[Mohmand District|Mohmand]]
 
* [[Khyber District|Khyber]]
 
* [[Orakzai Distric|Orakzai]]
 
* [[Kurram District|Kurram]]
 
 
| group6 = [[Malakand Division|Malakand]]
 
| list6 =
 
 
* [[Buner District|Buner]]
 
* [[Buner District|Buner]]
* [[Chitral District|Chitral]]
+
* [[Lower Chitral District|Lower Chitral]]
 
* [[Lower Dir District|Lower Dir]]
 
* [[Lower Dir District|Lower Dir]]
 
* [[Malakand District|Malakand]]
 
* [[Malakand District|Malakand]]
Line 52: Line 49:
 
* [[Swat District|Swat]]
 
* [[Swat District|Swat]]
 
* [[Upper Dir District|Upper Dir]]
 
* [[Upper Dir District|Upper Dir]]
 +
* [[Upper Chitral District|Upper Chitral]]
  
| group7 = [[Mardan Division|Mardan]]
+
| group6 = [[Mardan Division|Mardan]]
| list7 =
+
| list6 =
 
* [[Mardan District|Mardan]]
 
* [[Mardan District|Mardan]]
 
* [[Swabi District|Swabi]]
 
* [[Swabi District|Swabi]]
Line 61: Line 59:
 
| list8 =
 
| list8 =
 
* [[Charsadda District, Pakistan|Charsadda]]
 
* [[Charsadda District, Pakistan|Charsadda]]
 +
* [[Khyber District|Khyber]]
 +
* [[Mohmand District|Mohmand]]
 
* [[Nowshera District|Nowshera]]
 
* [[Nowshera District|Nowshera]]
 
* [[Peshawar District|Peshawar]]
 
* [[Peshawar District|Peshawar]]
 
| group9 = [[Waziristan Division|Waziristan]]
 
| list9 =
 
* [[North Waziristan District|North Waziristan]]
 
* [[South Waziristan District|South Waziristan]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 15:13, 19 July 2020

Initial visibility: currently defaults to autocollapse

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

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