Difference between revisions of "Template:Largest cities of Cameroon"

From blackwiki
Jump to navigation Jump to search
imported>DerBorg
m (+collapsible option and cameroon-related cat)
imported>Stephie21
Line 1: Line 1:
{{Largest cities
+
{{Navbox
| name        = Largest cities of Cameroon
+
| name        = Largest cities in Cameroon
| country      = Cameroon
+
| country      = Cameroon
| stat_ref    = [http://www.geonames.org/CM/largest-cities-in-cameroon.html GeoNames]
+
| stat_ref    = [http://www.geonames.org/CM/largest-cities-in-cameroon.html GeoNames]
| list_by_pop  =  
+
| list_by_pop  =  
| class        = nav
+
| class        = nav
| div_name    = Region
+
| div_name    = Region
| div_link    =
+
| div_link    =
 +
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 +
| bodyclass = hlist
  
 
| city_1 = Douala
 
| city_1 = Douala
Line 60: Line 62:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
 
[[Category:Cameroon templates|Largest cities]]
 
[[Category:Cameroon templates|Largest cities]]
 
[[Category:Largest cities of Africa templates|Cameroon]]
 
[[Category:Largest cities of Africa templates|Cameroon]]
 
</noinclude>
 
</noinclude>

Revision as of 00:42, 3 October 2015

Initial visibility: currently defaults to autocollapse

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

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