Difference between revisions of "Template:Kampong Chhnang Province"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>ASDFGH
Line 4: Line 4:
 
|state    = {{{state|autocollapse}}}
 
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 +
|above = '''Capital: [[Kampong Chhnang (city)|Kampong Chhnang]]'''
 
|image = [[File:Cambodia Kampong Chhnang locator map.svg|75px]]
 
|image = [[File:Cambodia Kampong Chhnang locator map.svg|75px]]
|group1 = Capital city
+
|group1 = Districts
 
|list1 =
 
|list1 =
* [[Kampong Chhnang City|Kampong Chhnang]]
 
|group2 = Districts
 
|list2 =
 
 
* [[Baribour District|Baribour]]
 
* [[Baribour District|Baribour]]
 
* [[Chol Kiri District|Chol Kiri]]
 
* [[Chol Kiri District|Chol Kiri]]
* [[Kampong Chhnang Municipality]]
+
* [[Kampong Chhnang Municipality]] ([[Kampong Chhnang (city)|city]])
 
* [[Kampong Leaeng District|Kampong Leaeng]]
 
* [[Kampong Leaeng District|Kampong Leaeng]]
 
* [[Kampong Tralach District|Kampong Tralach]]
 
* [[Kampong Tralach District|Kampong Tralach]]

Revision as of 03:56, 27 October 2018

Initial visibility: currently defaults to autocollapse

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

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