Difference between revisions of "Template:Cavite"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(simplify)
imported>Exec8
Line 3: Line 3:
 
|title = {{flagicon image|PH-CAV_Flag.png}} Province of [[Cavite]]
 
|title = {{flagicon image|PH-CAV_Flag.png}} Province of [[Cavite]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|above = '''[[Trece Martires]]''' (''de facto'' capital), '''[[Imus]]''' (''de jure'' capital)
+
|above = '''{{wikidata|label|linked|Q63160}} <!--Trece Martires -->''' (''de facto'' capital), '''[[{{wikidata|property|Q13785|P36}}]]''' (''de jure'' capital)
 
|listclass = hlist
 
|listclass = hlist
 
|group1 = [[Municipalities of the Philippines|Municipalities]]
 
|group1 = [[Municipalities of the Philippines|Municipalities]]
Line 25: Line 25:
 
|group2 = [[Cities of the Philippines#Classification|Component cities]]
 
|group2 = [[Cities of the Philippines#Classification|Component cities]]
 
|list2 =
 
|list2 =
* [[Bacoor]]
+
* {{wikidata|label|linked|Q63129}} <!--Bacoor -->
* [[Cavite City]]
+
* {{wikidata|label|linked|Q1482}}  <!--Cavite City -->
* [[Dasmariñas]]
+
* {{wikidata|label|linked|Q63139}} <!--Dasmariñas -->
* [[General Trias, Cavite|General Trias]]
+
* {{wikidata|label|linked|Q62723}} <!--General Trias, Cavite|General Trias -->
* [[Imus]]
+
* {{wikidata|label|linked|Q63145}} <!--Imus -->
* [[Tagaytay]]
+
* {{wikidata|label|linked|Q63154}} <!--Tagaytay -->
* [[Trece Martires]]
+
* {{wikidata|label|linked|Q63160}} <!--Trece Martires -->
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 02:56, 13 June 2020

Initial visibility: currently defaults to autocollapse

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

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