Difference between revisions of "Template:Cavite"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(update doc)
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Cavite
 
|name = Cavite
|title = [[File:Vlag Fil Cavite.gif|23px]] Province of [[Cavite]]
+
|title = {{flagicon image|PH-CAV_Flag.png}} Province of [[Cavite]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 +
|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]]
 
|list1 =
 
|list1 =
* [[Alfonso, Cavite|Alfonso]]
+
* {{wikidata|label|linked|Q62600}} <!-- Alfonso -->
* [[Amadeo, Cavite|Amadeo]]
+
* {{wikidata|label|linked|Q62606}} <!-- Amadeo -->
* [[Carmona, Cavite|Carmona]]
+
* {{wikidata|label|linked|Q62611}} <!-- Carmona -->
* [[General Emilio Aguinaldo, Cavite|General Emilio Aguinaldo]]
+
* {{wikidata|label|linked|Q62719}} <!-- General Emilio Aguinaldo -->
* [[General Mariano Alvarez, Cavite|General Mariano Alvarez]]
+
* {{wikidata|label|linked|Q62638}} <!-- General Mariano Alvarez -->
* [[General Trias, Cavite|General Trias]]
+
* {{wikidata|label|linked|Q62729}} <!-- Indang -->
* [[Indang, Cavite|Indang]]
+
* {{wikidata|label|linked|Q62755}} <!-- Kawit -->
* [[Kawit, Cavite|Kawit]]
+
* {{wikidata|label|linked|Q62771}} <!-- Magallanes -->
* [[Magallanes, Cavite|Magallanes]]
+
* {{wikidata|label|linked|Q62776}} <!-- Maragondon -->
* [[Maragondon, Cavite|Maragondon]]
+
* {{wikidata|label|linked|Q62784}} <!-- Mendez -->
* [[Mendez, Cavite|Mendez]]
+
* {{wikidata|label|linked|Q62799}} <!-- Naic -->
* [[Naic, Cavite|Naic]]
+
* {{wikidata|label|linked|Q63096}} <!-- Noveleta -->
* [[Noveleta, Cavite|Noveleta]]
+
* {{wikidata|label|linked|Q63102}} <!-- Rosario -->
* [[Rosario, Cavite|Rosario]]
+
* {{wikidata|label|linked|Q63110}} <!-- Silang -->
* [[Silang, Cavite|Silang]]
+
* {{wikidata|label|linked|Q63115}} <!-- Tanza -->
* [[Tanza, Cavite|Tanza]]
+
* {{wikidata|label|linked|Q63124}} <!-- Ternate -->
* [[Ternate, Cavite|Ternate]]
 
 
|group2 = [[Cities of the Philippines#Classification|Component cities]]
 
|group2 = [[Cities of the Philippines#Classification|Component cities]]
 
|list2 =
 
|list2 =
* [[Cavite City]]
+
* {{wikidata|label|linked|Q63129}} <!--Bacoor -->
* [[Imus]]
+
* {{wikidata|label|linked|Q1482}}  <!--Cavite City -->
* [[Tagaytay]]
+
* {{wikidata|label|linked|Q63139}} <!--Dasmariñas -->
* [[Trece Martires]]
+
* {{wikidata|label|linked|Q62723}} <!--General Trias, Cavite|General Trias -->
|group3 = [[Cities of the Philippines#Classification|Highly Urbanized cities]]
+
* {{wikidata|label|linked|Q63145}} <!--Imus -->
|list3 =
+
* {{wikidata|label|linked|Q63154}} <!--Tagaytay -->
* [[Bacoor]]
+
* {{wikidata|label|linked|Q63160}} <!--Trece Martires -->
* [[Dasmariñas]] <small>(both proposed, still adminsitred by the Province)</small>
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{Documentation|content=
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Philippines municipality templates]]
 
[[Category:Philippines municipality templates]]
 
[[Category:Municipalities of Cavite]]
 
[[Category:Municipalities of Cavite]]
</noinclude>
+
 
 +
}}</noinclude>

Latest revision as of 04:08, 25 September 2020

Template documentation

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.