Difference between revisions of "Template:Districts of Lebanon"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>The Man in Question
(Byblos)
 
(7 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|name = Districts of Lebanon
 
|name = Districts of Lebanon
 
|title = [[Districts of Lebanon]]
 
|title = [[Districts of Lebanon]]
 +
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[Image:Flag of Lebanon.svg|38px|border|Flag of Lebanon]]
 
|image = [[Image:Flag of Lebanon.svg|38px|border|Flag of Lebanon]]
|group1 = [[Beirut Governorate]]
+
|group1 = [[Akkar Governorate]]
 
|list1  =
 
|list1  =
 +
* [[Akkar Governorate|Akkar]]
 +
|group2 = [[Baalbek-Hermel Governorate]]
 +
|list2  =
 +
* [[Baalbek District|Baalbek]]
 +
* [[Hermel District|Hermel]]
 +
|group3 = [[Beirut Governorate]]
 +
|list3  =
 
* [[Beirut District|Beirut]]
 
* [[Beirut District|Beirut]]
|group2 = [[Mount Lebanon Governorate]]
+
|group4 = [[Mount Lebanon Governorate]]
|list2 =
+
|list4 =
 
* [[Aley District|Aley]]
 
* [[Aley District|Aley]]
 
* [[Baabda District|Baabda]]
 
* [[Baabda District|Baabda]]
 +
* [[Byblos District|Byblos]] (Jbeil)
 
* [[Chouf District|Chouf]]
 
* [[Chouf District|Chouf]]
* [[Jbeil District|Jbeil]]
 
 
* [[Keserwan District|Keserwan]]
 
* [[Keserwan District|Keserwan]]
 
* [[Matn District|Matn]]
 
* [[Matn District|Matn]]
|group3 = [[North Governorate]]
+
|group5 = [[North Governorate]]
|list3 =
+
|list5 =
* [[Akkar District|Akkar]]
 
 
* [[Batroun District|Batroun]]
 
* [[Batroun District|Batroun]]
 
* [[Bsharri District|Bsharri]]
 
* [[Bsharri District|Bsharri]]
Line 24: Line 31:
 
* [[Tripoli District|Tripoli]]
 
* [[Tripoli District|Tripoli]]
 
* [[Zgharta District|Zgharta]]
 
* [[Zgharta District|Zgharta]]
|group4 = [[Beqaa Governorate]]
+
|group6 = [[Beqaa Governorate]]
|list4 =
+
|list6 =
* [[Baalbek District|Baalbek]]
 
* [[Hermel District|Hermel]]
 
 
* [[Rashaya District|Rashaya]]
 
* [[Rashaya District|Rashaya]]
 
* [[Western Beqaa District|Western Beqaa]]
 
* [[Western Beqaa District|Western Beqaa]]
 
* [[Zahlé District|Zahlé]]
 
* [[Zahlé District|Zahlé]]
|group5 = [[South Governorate]]
+
|group7 = [[South Governorate]]
|list5 =
+
|list7 =
 
* [[Jezzine District|Jezzine]]
 
* [[Jezzine District|Jezzine]]
 
* [[Sidon District|Sidon]]
 
* [[Sidon District|Sidon]]
 
* [[Tyre District|Tyre]]
 
* [[Tyre District|Tyre]]
|group6 = [[Nabatieh Governorate]]
+
|group8 = [[Nabatieh Governorate]]
|list6 =
+
|list8 =
* [[Bintjbeil District|Bintjbeil]]
+
* [[Bint Jbeil District|Bint Jbeil]]
 
* [[Hasbaya District|Hasbaya]]
 
* [[Hasbaya District|Hasbaya]]
 
* [[Marjeyoun District|Marjeyoun]]
 
* [[Marjeyoun District|Marjeyoun]]
 
* [[Nabatieh District|Nabatieh]]
 
* [[Nabatieh District|Nabatieh]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Lebanon district templates| ]]
 
[[Category:Lebanon district templates| ]]
[[fr:Modèle:Districts du Liban]]
 
[[it:Template:Distretti del Libano]]
 
[[pt:Predefinição:Distritos do Líbano]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 03:07, 13 May 2020

Initial visibility: currently defaults to autocollapse

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

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