Difference between revisions of "Template:Green MPs"

From blackwiki
Jump to navigation Jump to search
imported>Jack Cox
m (Created page with '{{Navbox |name = Green MPs |state = {{{state|collapsed}}} |selected = {{{1|}}} |titlestyle = color:black; background-color:green; |title = Green |list1 = '''[...')
 
imported>Chad The Goatman
(Undid revision 1001821912 by Rushtheeditor (talk): She not the federal party leader anymore, through you could give a better reason, via she the parliamentary leader as an example)
 
(27 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Green MPs
+
| name       = Green MPs
|state = {{{state|collapsed}}}
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|selected = {{{1|}}}
+
| border    = {{{1|}}}
|titlestyle = color:black; background-color:green;
+
| title      = [[Green Party of Canada|Green Party]]
|title = [[Green]]
+
| titlestyle = color:black; background-color:{{Canadian party colour|CA|Green}};
|list1  = '''[[Elizabeth May|May]]'''
+
| listclass  = hlist
 +
 
 +
| list1 =
 +
* [[Jenica Atwin|Atwin]]
 +
* [[Paul Manly|Manly]]
 +
* [[Elizabeth May|E. May]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Parliament of Canada navigational boxes|{{PAGENAME}}]]
+
{{collapsible option}}
 +
[[Category:Parliament of Canada navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:39, 21 January 2021

Initial visibility: currently defaults to autocollapse

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

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