Difference between revisions of "Template:Abidjan subdivisions"

From blackwiki
Jump to navigation Jump to search
blackwiki>Good Olfactory
(adjust to include subprefectures and communes, rural and urban in the autonomous district)
m (16 revisions imported)
 
(10 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| image    = [[File:Abidjan Communes.svg|200px]]
+
| image    = [[File:Abidjan Communes.svg|200px]]
 +
| imageleft = [[File:Côte d'Ivoire - District autonome Abidjan.svg|left|150px]]
  
 
| group1 = Urban communes (north)
 
| group1 = Urban communes (north)
Line 26: Line 27:
 
| group3 = Rural sub-prefectures (east)
 
| group3 = Rural sub-prefectures (east)
 
| list3  =
 
| list3  =
* [[Bingerville]]
+
* [[Bingerville]]*
 
* [[Brofodoumé]]
 
* [[Brofodoumé]]
  
Line 32: Line 33:
 
| group4 = Rural sub-prefectures (west)
 
| group4 = Rural sub-prefectures (west)
 
| list4  =
 
| list4  =
* [[Anyama]]
+
* [[Anyama]]*
* [[Songon]]
+
* [[Songon]]*
  
 +
|below =
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Ivory Coast subdivision templates]]
 
[[Category:Ivory Coast subdivision templates]]
[[Category:Populated places in Abidjan|†emplate]]
+
[[Category:Subdivisions of Abidjan|†emplate]]
 +
[[Category:Africa city templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:19, 16 October 2020

Initial visibility: currently defaults to autocollapse

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

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