Difference between revisions of "Template:Bohol"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(simplify)
imported>Exec8
 
Line 4: Line 4:
 
|image =  
 
|image =  
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|above = '''[[Tagbilaran]]''' (capital)
+
|above = '''[[{{wikidata|property|Q13752|P36}}]]''' (capital)
 
|listclass = hlist
 
|listclass = hlist
 
|group1 = [[List of municipalities of Bohol|Municipalities]]
 
|group1 = [[List of municipalities of Bohol|Municipalities]]
Line 57: Line 57:
 
|group3 = [[Cities of the Philippines#Classification|Component city]]
 
|group3 = [[Cities of the Philippines#Classification|Component city]]
 
|list3 =  
 
|list3 =  
* [[Tagbilaran]]
+
* {{wikidata|label|linked|Q1826}} <!--Tagbilaran -->
 
|group4 = Islands
 
|group4 = Islands
 
|list4 =
 
|list4 =

Latest revision as of 02:38, 13 June 2020

Initial visibility: currently defaults to autocollapse

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

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