Difference between revisions of "Template:Departments of Benin"

From blackwiki
Jump to navigation Jump to search
imported>FrescoBot
m (Bot: link specificity and minor changes)
 
(19 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<br clear=all>
+
{{Navbox
<center>
+
| name = Departments of Benin
{| id="toc" style="margin: 0 2em 0 2em;"
+
| title = [[Departments of Benin]]
! style="background:#ccccff" align="center" width="100%" | [[Departments of Benin|Departments]] of [[Benin]] || [[Image:Flag_of_Benin.svg|50px|Flag of Benin]]
+
| state    = {{{state|autocollapse}}}
|-
+
| listclass = hlist
| align="center" style="font-size: 90%;" colspan="2" | [[Alibori Department|Alibori]] | [[Atakora Department|Atakora]] | [[Atlantique Department|Atlantique]] | [[Borgou Department|Borgou]] | [[Collines Department|Collines]] | [[Donga Department|Donga]] | [[Kouffo Department|Kouffo]] | [[Littoral Department|Littoral]] | [[Mono Department|Mono]] | [[Ouémé Department|Ouémé]] | [[Plateau Department|Plateau]] | [[Zou Department|Zou]]
+
| image = [[Image:Flag of Benin.svg|border|40px|right|Flag of Benin]]
|}
+
| liststyle = padding-left:40px
</center><noinclude>[[fr:Modèle:Département du Bénin]]</noinclude>
+
| list1 =  
 +
* [[Alibori Department|Alibori]]
 +
* [[Atakora Department|Atakora]]
 +
* [[Atlantique Department|Atlantique]]
 +
* [[Borgou Department|Borgou]]
 +
* [[Collines Department|Collines]]
 +
* [[Donga Department|Donga]]
 +
* [[Kouffo Department|Kouffo]]
 +
* [[Littoral Department|Littoral]]
 +
* [[Mono Department|Mono]]
 +
* [[Ouémé Department|Ouémé]]
 +
* [[Plateau Department|Plateau]]
 +
* [[Zou Department|Zou]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Benin subdivision templates]]
 +
 
 +
</noinclude>

Latest revision as of 22:04, 27 November 2014

Initial visibility: currently defaults to autocollapse

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

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