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

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Spleodrach
(copyedit)
Line 3: Line 3:
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
 
|titlestyle = {{{titlestyle|}}}
 
|titlestyle = {{{titlestyle|}}}
|title      = [[Green Party (Ireland)|{{{1|Green Party (Ireland)}}}]]
+
|title      = [[Green Party (Ireland)|<font color="white">Green Party (Ireland)</span>]]
 
|groupstyle = {{{groupstyle|}}}
 
|groupstyle = {{{groupstyle|}}}
 +
|titlestyle = background:{{Green Party (Ireland)/meta/color}};color:white;
 +
|groupstyle = background:{{Green Party (Ireland)/meta/color}};color:white;
 
|listclass  = hlist
 
|listclass  = hlist
|titlestyle = background:lightgreen;
 
|groupstyle = background:lightgreen;
 
  
 
|group1 = Leaders
 
|group1 = Leaders

Revision as of 22:11, 9 February 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.