Difference between revisions of "Template:Departments of Benin"

From blackwiki
Jump to navigation Jump to search
imported>Circeus
(country footer consistency)
imported>FrescoBot
m (Bot: link specificity and minor changes)
 
(18 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{| style="margin: 0 auto;clear:both;text-align:center;width:50em;" class="toccolours"
+
{{Navbox
! style="background:#ccccff" width="100%" | [[Departments of Benin|Departments]] of [[Benin]]
+
| name = Departments of Benin
|width="40"| [[Image:Flag_of_Benin.svg|40px|Flag of Benin]]
+
| title = [[Departments of Benin]]
|-
+
| state    = {{{state|autocollapse}}}
| 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]]
+
| listclass = hlist
|}<noinclude>
+
| image = [[Image:Flag of Benin.svg|border|40px|right|Flag of Benin]]
[[fr:Modèle:Département du Bénin]]
+
| liststyle = padding-left:40px
 +
| 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>
 
</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.