Difference between revisions of "Template:MBHighways"

From blackwiki
Jump to navigation Jump to search
imported>Rkehler3
imported>PK2
m
 
Line 2: Line 2:
 
| name  = MBHighways
 
| name  = MBHighways
 
| state  = {{{state|autocollapse}}}
 
| state  = {{{state|autocollapse}}}
| title  = [[List of Manitoba provincial highways|<span style="color:white;">Highways</span>]] in [[Manitoba|<span style="color:white;">Manitoba</span>]]
+
| title  = {{coloured link|white|List of Manitoba provincial highways|Highways}} in {{coloured link|white|Manitoba}}
|listclass = hlist
+
| listclass = hlist
|titlestyle= background:#006A4D; color:white;
+
| basestyle = background:#006A4D; color:white;
|groupstyle= background:#006A4D; color:white;
 
|belowstyle= background:#006A4D; color:white;
 
  
 
| group1 = Primary
 
| group1 = Primary
Line 100: Line 98:
 
* [[Manitoba Highway 8|Veterans Memorial Highway]]
 
* [[Manitoba Highway 8|Veterans Memorial Highway]]
 
* [[Yellowhead Highway]]
 
* [[Yellowhead Highway]]
  | below=
+
  | below =
[[Department of Infrastructure (Manitoba)|<span style="color:white;">Manitoba Infrastructure</span>]]
+
{{coloured link|white|Department of Infrastructure (Manitoba)|Manitoba Infrastructure}}
}}
+
}}<noinclude>
 
 
<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
  

Latest revision as of 11:56, 10 September 2020

Initial visibility: currently defaults to autocollapse

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

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