Difference between revisions of "Template:Camarines Sur"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(simplify)
imported>Exec8
 
Line 3: Line 3:
 
|title = {{flagicon image|PH-CAS_Flag.png}} Province of [[Camarines Sur]]
 
|title = {{flagicon image|PH-CAS_Flag.png}} Province of [[Camarines Sur]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|above = '''[[Pili, Camarines Sur|Pili]]''' (capital)
+
|above = '''{{wikidata|label|linked|Q208899}} <!-- Pili -->''' (capital)
 
|listclass = hlist
 
|listclass = hlist
 
|group1 = [[Municipalities of the Philippines|Municipalities]]
 
|group1 = [[Municipalities of the Philippines|Municipalities]]
Line 44: Line 44:
 
|group3 = [[Cities of the Philippines#Classification|Component city]]
 
|group3 = [[Cities of the Philippines#Classification|Component city]]
 
|list3 =  
 
|list3 =  
* [[Iriga]]
+
* {{wikidata|label|linked|Q2205}} <!--Iriga -->
 
|group4 = [[Cities of the Philippines#Independent cities|Independent component city]]
 
|group4 = [[Cities of the Philippines#Independent cities|Independent component city]]
 
|list4 =  
 
|list4 =  
* [[Naga, Camarines Sur|Naga]] <small>(''Administratively independent from the province but grouped under Camarines Sur by the [http://psa.gov.ph/ Philippine Statistics Authority].'')</small>
+
* {{wikidata|label|linked|Q2207}} <!--Naga, Camarines Sur--> <small>(''Administratively independent from the province but grouped under Camarines Sur by the [http://psa.gov.ph/ Philippine Statistics Authority].'')</small>
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 02:44, 13 June 2020

Initial visibility: currently defaults to autocollapse

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

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