Difference between revisions of "Template:Green Party (Ireland)"

From blackwiki
Jump to navigation Jump to search
imported>NSH002
(tidy up + add cat + rm non-template cat)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name       = Green Party (Ireland)
+
| name = Green Party (Ireland)
|state     = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
|titlestyle = {{{titlestyle|}}}
+
| title = [[Green Party (Ireland)|{{color|white|Green Party (Ireland)}}]]
|title     = [[Green Party (Ireland)|<font color="white">Green Party (Ireland)</span>]]
+
| listclass = hlist
|groupstyle = {{{groupstyle|}}}
 
|titlestyle = background:{{Green Party (Ireland)/meta/color}};color:white;
 
|groupstyle = background:{{Green Party (Ireland)/meta/color}};color:white;
 
|listclass = hlist
 
  
|group1 = Leaders
+
| basestyle = background:{{Green Party (Ireland)/meta/color}};color:white;
|list1 =  
+
| listclass = hlist
 +
 
 +
| group1 = Leaders
 +
| list1 =
 
* [[Trevor Sargent]] (2001–07)
 
* [[Trevor Sargent]] (2001–07)
 
* [[John Gormley]] (2007–11)
 
* [[John Gormley]] (2007–11)
 
* [[Eamon Ryan]] (2011–)
 
* [[Eamon Ryan]] (2011–)
  
|group2 = Other
+
| group2 = Other
|list2 =  
+
| list2 =
 
* [[Green Party (Ireland) Front Bench|Front Bench]]
 
* [[Green Party (Ireland) Front Bench|Front Bench]]
 
* [[Young Greens (Ireland)|Young Greens]]
 
* [[Young Greens (Ireland)|Young Greens]]
 
* [[Green Party in Northern Ireland]]
 
* [[Green Party in Northern Ireland]]
 +
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Green Party (Ireland)|τ]]
+
[[Category:Green party templates]]
[[Category:Ireland political party templates|{{PAGENAME}}]]
+
[[Category:Ireland political party templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:41, 22 August 2014

Initial visibility: currently defaults to autocollapse

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

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