Difference between revisions of "Template:Berkane Province"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Ary29
m (fix)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
| image    = [[File:Flag of Morocco.svg|52px|Flag of Morocco]]
 
| image    = [[File:Flag of Morocco.svg|52px|Flag of Morocco]]
  
| above = Capital:  
+
| above = Capital: [[Berkane]]
  
 
| group1 = Municipalities
 
| group1 = Municipalities
Line 19: Line 19:
 
| group2 = Rural communes
 
| group2 = Rural communes
 
| list2  =  
 
| list2  =  
* [[Aghbal]]
+
* [[Aghbal, Morocco|Aghbal]]
 
* [[Boughriba]]
 
* [[Boughriba]]
 
* [[Chouihia]]
 
* [[Chouihia]]

Latest revision as of 19:12, 15 March 2019

Initial visibility: currently defaults to autocollapse

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

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