Difference between revisions of "Template:GAA National Leagues"

From blackwiki
Jump to navigation Jump to search
imported>Politics-man
Line 4: Line 4:
 
| listclass  = hlist
 
| listclass  = hlist
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
| titlestyle = background:#BFD7FF;
+
| titlestyle = {{linear-gradient|left|white, #BFD7FF}}
  
 
|group1= <!-- pls leave blank -->
 
|group1= <!-- pls leave blank -->
Line 10: Line 10:
  
 
|group2=Division 1
 
|group2=Division 1
|group2style = background:lightgreen;
+
|group2style = {{linear-gradient|left|white, lightgreen}}
 
|list2=
 
|list2=
 
* [[Cork GAA|Cork]]
 
* [[Cork GAA|Cork]]
Line 22: Line 22:
  
 
|group3= Division 2
 
|group3= Division 2
|group3style = background:lightgreen;
+
|group3style = {{linear-gradient|left|white, lightgreen}}
 
|list3=
 
|list3=
 
* [[Armagh GAA|Armagh]]
 
* [[Armagh GAA|Armagh]]
Line 34: Line 34:
  
 
|group4 = Division 3
 
|group4 = Division 3
|group4style = background:lightgreen;
+
|group4style = {{linear-gradient|left|white, lightgreen}}
 
|list4  =
 
|list4  =
 
* [[Antrim GAA|Antrim]]
 
* [[Antrim GAA|Antrim]]
Line 46: Line 46:
  
 
|group5 = Division 4
 
|group5 = Division 4
|group5style = background:lightgreen;
+
|group5style = {{linear-gradient|left|white, lightgreen}}
 
|list5  =
 
|list5  =
 
* [[Carlow GAA|Carlow]]
 
* [[Carlow GAA|Carlow]]
Line 64: Line 64:
  
 
|group7 = Division 1A
 
|group7 = Division 1A
|group7style = background:pink;
+
|group7style = {{linear-gradient|left|white, pink}}
 
|list7  =
 
|list7  =
 
* [[Cork GAA|Cork]]
 
* [[Cork GAA|Cork]]
Line 74: Line 74:
  
 
|group8 = Division 1B
 
|group8 = Division 1B
|group8style = background:pink;
+
|group8style = {{linear-gradient|left|white, pink}}
 
|list8  =
 
|list8  =
 
* [[Antrim GAA|Antrim]]
 
* [[Antrim GAA|Antrim]]
Line 84: Line 84:
  
 
|group9 = Division 2A
 
|group9 = Division 2A
|group9style = background:pink;
+
|group9style = {{linear-gradient|left|white, pink}}
 
|list9  =
 
|list9  =
 
* [[Derry GAA|Derry]]
 
* [[Derry GAA|Derry]]
Line 94: Line 94:
  
 
|group10 = Division 2B
 
|group10 = Division 2B
|group10style = background:pink;
+
|group10style = {{linear-gradient|left|white, pink}}
 
|list10  =
 
|list10  =
 
* [[Armagh GAA|Armagh]]
 
* [[Armagh GAA|Armagh]]
Line 104: Line 104:
  
 
|group11 = Division 3A
 
|group11 = Division 3A
|group11style = background:pink;
+
|group11style = {{linear-gradient|left|white, pink}}
 
|list11 =
 
|list11 =
 
* [[Donegal GAA|Donegal]]
 
* [[Donegal GAA|Donegal]]
Line 114: Line 114:
  
 
|group12 = Division 3B
 
|group12 = Division 3B
|group12style = background:pink;
+
|group12style = {{linear-gradient|left|white, pink}}
 
|list12 =
 
|list12 =
 
* ''[[Cavan GAA|Cavan]]''
 
* ''[[Cavan GAA|Cavan]]''
Line 126: Line 126:
  
 
|belowclass = hlist
 
|belowclass = hlist
|belowstyle = font-weight:bold; background-color:#ffdead;
+
|belowstyle = font-weight:bold; {{linear-gradient|left|white, #ffdead}}
 
|below  =  
 
|below  =  
 
* [[Connacht GAA|Connacht]]
 
* [[Connacht GAA|Connacht]]

Revision as of 23:23, 14 July 2013

Initial visibility: currently defaults to autocollapse

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

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