Difference between revisions of "Template:Brussels Metro navbox"

From blackwiki
Jump to navigation Jump to search
imported>David Edgar
(since List of Brussels Metro stations includes the premetro stations, this template ought to list them too. I added them with long spacer dashes to indicate the unnamed stops (i.e. the regular above-ground tram stops).)
imported>Crochet.david
(.)
Line 2: Line 2:
 
| name      = Brussels Metro navbox
 
| name      = Brussels Metro navbox
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
| title      = [[File:Métro de Bruxelles.gif|20px|Brussels Metro|link=Brussels Metro]] [[Image:Brussels Metro Logo.svg|25px|Brussels Metro|link=Brussels Metro]]  [[Brussels Metro]]
+
| title      = [[File:Brussels metro icon.svg|20px|Brussels Metro|link=Brussels Metro]] [[Image:Brussels Metro Logo.svg|25px|Brussels Metro|link=Brussels Metro]]  [[Brussels Metro]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| groupstyle = text-align: right; background: transparent;
 
| groupstyle = text-align: right; background: transparent;

Revision as of 07:47, 7 August 2018

Initial visibility: currently defaults to autocollapse

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

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