Difference between revisions of "Template:GAA National Leagues"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
(clearer)
Line 5: Line 5:
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
 
|titlestyle = background:#BFD7FF;
 
|titlestyle = background:#BFD7FF;
|groupstyle = background:#BFD7FF;
 
  
 
|group1= <!-- pls leave blank -->
 
|group1= <!-- pls leave blank -->
|list1 = <span style="display:block; font-weight:bold; background-color:#ffdead">[[National Football League (Ireland)|National Football League]] ([[2012 National Football League (Ireland)|2012]])</span>
+
|list1 = <span style="display:block; font-weight:bold; background-color:lightgreen">[[National Football League (Ireland)|National Football League]] ([[2012 National Football League (Ireland)|2012]])</span>
  
 
|group2=Division 1
 
|group2=Division 1
 +
|group2style = background:lightgreen;
 
|list2=
 
|list2=
 
* [[Armagh GAA|Armagh]]
 
* [[Armagh GAA|Armagh]]
Line 22: Line 22:
  
 
|group3= Division 2
 
|group3= Division 2
 +
|group3style = background:lightgreen;
 
|list3=
 
|list3=
 
* [[Derry GAA|Derry]]
 
* [[Derry GAA|Derry]]
Line 33: Line 34:
  
 
|group4 = Division 3
 
|group4 = Division 3
 +
|group4style = background:lightgreen;
 
|list4  =
 
|list4  =
 
* [[Antrim GAA|Antrim]]
 
* [[Antrim GAA|Antrim]]
Line 44: Line 46:
  
 
|group5 = Division 4
 
|group5 = Division 4
 +
|group5style = background:lightgreen;
 
|list5  =
 
|list5  =
 
* [[Carlow GAA|Carlow]]
 
* [[Carlow GAA|Carlow]]
Line 56: Line 59:
  
 
|group6 = <!-- pls leave blank -->
 
|group6 = <!-- pls leave blank -->
|list6  = <span style="display:block; font-weight:bold; background-color:#ffdead">[[National Hurling League]] ([[2012 National Hurling League|2012]])</span>
+
|list6  = <span style="display:block; font-weight:bold; background-color:pink">[[National Hurling League]] ([[2012 National Hurling League|2012]])</span>
  
 
|group7 = Division 1A
 
|group7 = Division 1A
 +
|group7style = background:pink;
 
|list7  =
 
|list7  =
 
* [[Cork GAA|Cork]]
 
* [[Cork GAA|Cork]]
Line 68: Line 72:
  
 
|group8 = Division 1B
 
|group8 = Division 1B
 +
|group8style = background:pink;
 
|list8  =
 
|list8  =
 
* [[Antrim GAA|Antrim]]
 
* [[Antrim GAA|Antrim]]
Line 77: Line 82:
  
 
|group9 = Division 2A
 
|group9 = Division 2A
 +
|group9style = background:pink;
 
|list9  =
 
|list9  =
 
* [[Carlow GAA|Carlow]]
 
* [[Carlow GAA|Carlow]]
Line 86: Line 92:
  
 
|group10 = Division 2B
 
|group10 = Division 2B
 +
|group10style = background:pink;
 
|list10  =
 
|list10  =
 
* [[Armagh GAA|Armagh]]
 
* [[Armagh GAA|Armagh]]
Line 95: Line 102:
  
 
|group11 = Division 3A
 
|group11 = Division 3A
 +
|group11style = background:pink;
 
|list11 =
 
|list11 =
 
* [[Donegal GAA|Donegal]]
 
* [[Donegal GAA|Donegal]]
Line 104: Line 112:
  
 
|group12 = Division 3B
 
|group12 = Division 3B
 +
|group12style = background:pink;
 
|list12 =
 
|list12 =
 
* ''[[Cavan GAA|Cavan]]''
 
* ''[[Cavan GAA|Cavan]]''

Revision as of 20:54, 29 January 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.