Difference between revisions of "Template:Kampong Cham 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 Cham (city)|Kampong Cham]]'''
 
|image = [[File:Cambodia Kampong Cham locator map.svg|75px]]
 
|image = [[File:Cambodia Kampong Cham locator map.svg|75px]]
|group1 = Capital city
+
|group1 = Districts
 
|list1 =  
 
|list1 =  
* [[Kampong Cham City|Kampong Cham]]
 
|group2 = Districts
 
|list2 =
 
 
* [[Batheay District|Batheay]]
 
* [[Batheay District|Batheay]]
 
* [[Chamkar Leu District|Chamkar Leu]]
 
* [[Chamkar Leu District|Chamkar Leu]]
 
* [[Cheung Prey District|Cheung Prey]]
 
* [[Cheung Prey District|Cheung Prey]]
* [[Kampong Cham Municipality]]
+
* [[Kampong Cham Municipality]] ([[Kampong Cham (city)|city]])
 
* [[Kampong Siem District|Kampong Siem]]
 
* [[Kampong Siem District|Kampong Siem]]
 
* [[Kang Meas District|Kang Meas]]
 
* [[Kang Meas District|Kang Meas]]

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