Difference between revisions of "Template:Athletics at multi-sport events"

From blackwiki
Jump to navigation Jump to search
blackwiki>SoulGooner
Line 18: Line 18:
 
| image=[[Image:IAAF map.png|200px|right]]
 
| image=[[Image:IAAF map.png|200px|right]]
 
| evenodd = swap
 
| evenodd = swap
| groupstyle = border-right:0.5em solid; padding-right: 0.5em; line-height: 1em; font-size:90%
+
| groupstyle = line-height: 1em; font-size:90%
| group1style = border-color: #FF66FF
+
| group1style = {{box-shadow border|r|#FF00FF|5px}}
| group2style = border-color: orange
+
| group2style = {{box-shadow border|r|#FF813E|5px}}
| group3style = border-color: #FF6666
+
| group3style = {{box-shadow border|r|#FF0081|5px}}
| group4style = border-color: #66EE66
+
| group4style = {{box-shadow border|r|#00FF81|5px}}
| group5style = border-color: yellow
+
| group5style = {{box-shadow border|r|#FFFF00|5px}}
| group6style = border-color: #6666FF
+
| group6style = {{box-shadow border|r|#0081FF|5px}}
 
| group1 = Asia
 
| group1 = Asia
 
| list1 =
 
| list1 =

Revision as of 05:05, 27 July 2017

Initial visibility: currently defaults to autocollapse

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

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