Difference between revisions of "Template:Cities of the Philippines"

From blackwiki
Jump to navigation Jump to search
imported>Namayan
(Antipolo REMAINS to be a Component city, no plebiscite has been conducted yet to make it an HUC which is a requirement of the Local Government Code)
imported>Zollerriia
m (only corrected 2 lines of typos. only 1 very little change.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name= Philippine cities
 
|name= Philippine cities
|title= {{flagicon|Philippines}} [[Cities of the Philippines|Cities]] of the [[Philippines]]
+
|title= {{flagicon|Philippines}} [[List of cities in the Philippines|Cities]] of the [[Philippines]]
|state   = {{{state|autocollapse}}}
+
|state= {{{state|autocollapse}}}
 
|listclass= hlist
 
|listclass= hlist
  
Line 161: Line 161:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Philippines subdivision templates]]
 
[[Category:Philippines subdivision templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 13:47, 30 January 2015

Initial visibility: currently defaults to autocollapse

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

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