Difference between revisions of "Template:Laguna"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(simplify)
imported>Exec8
Line 3: Line 3:
 
|title = {{flagicon image|PH-LAG Flag.png}} Province of [[Laguna (province)|Laguna]]
 
|title = {{flagicon image|PH-LAG Flag.png}} Province of [[Laguna (province)|Laguna]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|above = '''[[Santa Cruz, Laguna|Santa Cruz]]''' (capital)
+
|above = '''{{wikidata|label|linked|Q75938}} <!-- Santa Cruz -->''' (capital)
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[File:Ph seal laguna.png|100px]]
 
|image = [[File:Ph seal laguna.png|100px]]
Line 34: Line 34:
 
|group2 = [[Cities of the Philippines#Classification|Component Cities]]
 
|group2 = [[Cities of the Philippines#Classification|Component Cities]]
 
|list2 =  
 
|list2 =  
* [[Biñan]]
+
* {{wikidata|label|linked|Q75961}} <!--Biñan -->
* [[Cabuyao]]
+
* {{wikidata|label|linked|Q25096}} <!--Cabuyao -->
* [[Calamba, Laguna|Calamba]]
+
* {{wikidata|label|linked|Q75978}} <!--Calamba -->
* [[San Pablo, Laguna|San Pablo]]
+
* {{wikidata|label|linked|Q76001}} <!--San Pablo, Laguna|San Pablo -->
* [[San Pedro, Laguna|San Pedro]]
+
* {{wikidata|label|linked|Q75933}} <!--San Pedro, Laguna|San Pedro -->
* [[Santa Rosa, Laguna|Santa Rosa]]
+
* {{wikidata|label|linked|Q76010}} <!--Santa Rosa, Laguna|Santa Rosa -->
 
| group3 = [[List of barangays in Laguna (province)|Barangays]]
 
| group3 = [[List of barangays in Laguna (province)|Barangays]]
 
| list3  = ''See: [[List of barangays in Laguna (province)]]''
 
| list3  = ''See: [[List of barangays in Laguna (province)]]''

Revision as of 09:44, 14 June 2020

Initial visibility: currently defaults to autocollapse

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

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