Difference between revisions of "Template:Brussels"

From blackwiki
Jump to navigation Jump to search
imported>WhisperToMe
imported>BrownHairedGirl
(remove deleted Portal:Brussels. Use Portal:Belgium)
 
Line 81: Line 81:
 
* [[Woluwe-Saint-Pierre|Woluwe-Saint-Pierre / Sint-Pieters-Woluwe]]
 
* [[Woluwe-Saint-Pierre|Woluwe-Saint-Pierre / Sint-Pieters-Woluwe]]
  
| below = '''[[Portal:Brussels|Portal]]'''
+
| below = '''{{portal-inline|Belgium}}'''
  
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:34, 9 October 2019

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

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

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

Section two

To expand the second section, Municipalities of the Brussels-Capital Region, Belgium, use the |state2= parameter as follows:

{{Brussels|state2=expanded}}

Note: since the default state of this navbar is "autocollapse", the second section will still be hidden when this navbar is used with other navbars. When the |state2= parameter is set equal to "expanded", the main "show" link of this navbar will still have to be clicked to see the second section.