Difference between revisions of "Template:ABLOpp"

From blackwiki
Jump to navigation Jump to search
m (23 revisions imported)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = ABLOpp
 
| name = ABLOpp
| title = [[File:Shield_of_Alberta.svg|20x20px|link=]] Alberta [[Leader of the Opposition (Alberta)|Leaders of the Opposition]]
+
| title = [[File:Shield_of_Alberta.svg|20x20px|link=]] Alberta [[Leader of the Opposition (Alberta)|leaders of the Opposition]]
 +
| state = {{{state|autocollapse}}}
 
| image = [[Image:Flag of Alberta.svg|45px|link=]]
 
| image = [[Image:Flag of Alberta.svg|45px|link=]]
 
| listclass = hlist
 
| listclass = hlist
Line 26: Line 27:
 
* [[Robert Curtis Clark|Clark]]
 
* [[Robert Curtis Clark|Clark]]
 
* [[Raymond Speaker|Speaker]]
 
* [[Raymond Speaker|Speaker]]
* [[Grant Notley|Notley]]
+
* [[Grant Notley|G. Notley]]
 
* [[Ray Martin (politician)|Martin]]
 
* [[Ray Martin (politician)|Martin]]
 
* [[Laurence Decore|Decore]]
 
* [[Laurence Decore|Decore]]
Line 37: Line 38:
 
* [[Raj Sherman|Sherman]]
 
* [[Raj Sherman|Sherman]]
 
* [[Danielle Smith|Smith]]
 
* [[Danielle Smith|Smith]]
 +
* [[Heather Forsyth|Forsyth]]
 +
* [[Brian Jean|Jean]]
 +
* [[Nathan Cooper (Canadian politician)|Cooper]]
 +
* [[Jason Nixon|Nixon]]
 +
* [[Jason Kenney|Kenney]]
 +
* [[Rachel Notley|R. Notley]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Alberta politics and government navigational boxes]]
 
[[Category:Alberta politics and government navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:34, 15 October 2020

Initial visibility: currently defaults to autocollapse

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

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