Difference between revisions of "Template:Ilocos Region"

From blackwiki
Jump to navigation Jump to search
imported>JWilz12345
m
imported>HueMan1
m (→‎top: clean up)
 
Line 5: Line 5:
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|group1=[[Regions of the Philippines|Regional Center]]
+
|group1=[[Regions of the Philippines|Regional center]]
 
|list1=  
 
|list1=  
 
* [[San Fernando, La Union|San Fernando]]
 
* [[San Fernando, La Union|San Fernando]]
Line 14: Line 14:
 
* [[La Union]]
 
* [[La Union]]
 
* [[Pangasinan]]
 
* [[Pangasinan]]
|group3=[[Cities of the Philippines#Independent cities|Independent Component City]]
+
|group3=[[Cities of the Philippines#Independent cities|Independent component city]]
 
|list3=  
 
|list3=  
 
* [[Dagupan]]
 
* [[Dagupan]]
|group4=[[Cities of the Philippines#Classifiction|Component Cities]]
+
|group4=[[Cities of the Philippines#Classifiction|Component cities]]
 
|list4=  
 
|list4=  
 
* [[Alaminos, Pangasinan|Alaminos]]
 
* [[Alaminos, Pangasinan|Alaminos]]
Line 27: Line 27:
 
* [[Urdaneta, Pangasinan|Urdaneta]]
 
* [[Urdaneta, Pangasinan|Urdaneta]]
 
* [[Vigan]]
 
* [[Vigan]]
| group5 = [[Template:Philippines Provincial Capitals|Provincial Capitals]]
+
| group5 = [[Template:Philippines Provincial Capitals|Provincial capitals]]
 
| list5  =  
 
| list5  =  
 
* [[Laoag]]
 
* [[Laoag]]

Latest revision as of 13:53, 29 January 2021

Initial visibility: currently defaults to autocollapse

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

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