Difference between revisions of "Template:Donegal GAA"

From blackwiki
Jump to navigation Jump to search
imported>Sliothar
Line 2: Line 2:
 
| name      = Donegal GAA
 
| name      = Donegal GAA
 
| title      = [[Donegal GAA|{{color|green|Donegal GAA}}]]</span>
 
| title      = [[Donegal GAA|{{color|green|Donegal GAA}}]]</span>
| basestyle = background:gold; color:green; border:1px solid green
+
| basestyle = background:gold; color:green; border:3px solid green
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
Line 84: Line 84:
 
   | state = <noinclude>expanded</noinclude>
 
   | state = <noinclude>expanded</noinclude>
 
   | title = Seasons
 
   | title = Seasons
   | basestyle = background:gold; color:green; border:1px solid green
+
   | basestyle = background:gold; color:green; border:3px solid green
 
   | liststyle = width:auto; text-align: center;
 
   | liststyle = width:auto; text-align: center;
  

Revision as of 10:29, 20 March 2015

Initial visibility: currently defaults to autocollapse

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

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