Difference between revisions of "Template:Donegal GAA clubs"

From blackwiki
Jump to navigation Jump to search
imported>Sliothar
imported>Frietjes
Line 1: Line 1:
{{Navbox  
+
{{Navbox with collapsible groups
 
| name      = Donegal GAA clubs
 
| name      = Donegal GAA clubs
 
| image    = [[File: Donegalcrest.jpg|45px]]
 
| image    = [[File: Donegalcrest.jpg|45px]]
 
| title    = [[Donegal GAA|{{color|green|Donegal GAA}}]] clubs
 
| title    = [[Donegal GAA|{{color|green|Donegal GAA}}]] clubs
| state    = {{{collasped}}}
+
| state    = {{{state<includeonly>|collasped</includeonly>}}}
 
| basestyle = background:gold; color:green; border:1px solid green
 
| basestyle = background:gold; color:green; border:1px solid green
 
| listclass = hlist
 
| listclass = hlist
 +
| groupstyle= padding-left:45px
 +
|group1 = Football
 
|list1      = {{Navbox|child
 
|list1      = {{Navbox|child
|bodyclass  =
 
|title      = Football
 
|titleclass =
 
 
|basestyle  = background:gold; color:green; border:1px solid green
 
|basestyle  = background:gold; color:green; border:1px solid green
|image      =
 
|above      =
 
 
| group1 = [[Donegal Senior Football Championship|{{color|green|Senior Football Championship}}]] (16)<sup>*</sup>
 
| group1 = [[Donegal Senior Football Championship|{{color|green|Senior Football Championship}}]] (16)<sup>*</sup>
 
| list1  =  
 
| list1  =  
Line 63: Line 60:
 
* Urris
 
* Urris
 
}}
 
}}
 +
|group2 = Hurling
 
|list2      = {{Navbox|child
 
|list2      = {{Navbox|child
|bodyclass  =
 
|title      = Hurling
 
|titleclass =
 
 
|basestyle  = background:gold; color:green; border:1px solid green
 
|basestyle  = background:gold; color:green; border:1px solid green
|image      =
 
|above      =
 
 
|group1    = [[Donegal Senior Hurling Championship|{{color|green|Senior Hurling Championship}}]]
 
|group1    = [[Donegal Senior Hurling Championship|{{color|green|Senior Hurling Championship}}]]
 
|list1    =
 
|list1    =

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