Difference between revisions of "Template:Mayo GAA"

From blackwiki
Jump to navigation Jump to search
imported>Gaois
m
imported>Gaois
m (Contra red–green color blindness and increase prominence in same way as Derry)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Mayo GAA
 
| name      = Mayo GAA
| title      = [[Mayo GAA|{{color|white|Mayo GAA}}]]
+
| title      = [[Mayo GAA|{{color|red|Mayo GAA}}]]
| basestyle  = background:green; color:white; border:3px solid red
+
| basestyle  = background:white; color:red; border:5px solid green
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
Line 8: Line 8:
 
| above=
 
| above=
 
* Founded in 1888
 
* Founded in 1888
* Based in '''[[County Mayo|{{color|white|Mayo}}]]''', '''[[Republic of Ireland|{{color|white|Ireland}}]]'''
+
* Based in '''[[County Mayo|{{color|red|Mayo}}]]''', '''[[Republic of Ireland|{{color|red|Ireland}}]]'''
  
 
| group1 = Players
 
| group1 = Players
Line 64: Line 64:
 
   | state = collapsed
 
   | state = collapsed
 
   | title = Seasons
 
   | title = Seasons
   | basestyle = background:green; color:white; border:3px solid red
+
   | basestyle = background:white; color:red; border:5px solid green
 
   | liststyle = width:auto; text-align: center;
 
   | liststyle = width:auto; text-align: center;
  

Latest revision as of 01:08, 2 November 2020

Initial visibility: currently defaults to autocollapse

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

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