Difference between revisions of "Template:Brussels"
imported>Paine Ellsworth m (Redirect bypass from Sint-Jans-Molenbeek to Molenbeek-Saint-Jean using popups) |
imported>Paine Ellsworth (expand section 2 on this page only) |
||
Line 58: | Line 58: | ||
| sect2 = [[List of municipalities of the Brussels-Capital Region|Municipalities of the Brussels-Capital Region]], Belgium | | sect2 = [[List of municipalities of the Brussels-Capital Region|Municipalities of the Brussels-Capital Region]], Belgium | ||
− | | state2 = {{{state2|autocollapse}}} | + | | state2 = {{{state2<includeonly>|autocollapse</includeonly>}}} |
| list2 = | | list2 = | ||
* [[Anderlecht]] | * [[Anderlecht]] |
Revision as of 07:18, 24 April 2019
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}}
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.
The above documentation is transcluded from Template:Brussels/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |