Difference between revisions of "Template:Commonwealth Games Gymnastics"

From blackwiki
Jump to navigation Jump to search
imported>Sportsfan 1234
imported>Zyxw
(fix alignment of list, add documentation wrapper and maintenance link)
Line 5: Line 5:
 
| listclass = hlist
 
| listclass = hlist
 
| titlestyle = background:#BFD7FF;
 
| titlestyle = background:#BFD7FF;
| image = [[File:Gymnastics (rhythmic) pictogram.svg|50px]] [[File:Gymnastics (artistic) pictogram.svg|50px]]
+
| imagestyle = width:60px; <!-- minimize width used by right image cell -->
 +
| imageleftstyle = width:60px; <!-- same as imagestyle to center the list -->
 +
| imageleft = [[File:Gymnastics (rhythmic) pictogram.svg|40px]]
 +
| image = [[File:Gymnastics (artistic) pictogram.svg|40px]]
 
| list1 =
 
| list1 =
 
* [[1978 Commonwealth Games#Gymnastics|1978]]
 
* [[1978 Commonwealth Games#Gymnastics|1978]]
Line 17: Line 20:
 
* [[Gymnastics at the 2010 Commonwealth Games|2010]]
 
* [[Gymnastics at the 2010 Commonwealth Games|2010]]
 
* [[Gymnastics at the 2014 Commonwealth Games|2014]]
 
* [[Gymnastics at the 2014 Commonwealth Games|2014]]
}}<noinclude>
+
}}<noinclude>{{Documentation | content =
{{collapsible option}}
+
{{Roster maintenance | header = Navigation maintenance}}
 +
{{Collapsible option}}
 
[[Category:Gymnastics at the Commonwealth Games navigational boxes|Commonwealth Games]]
 
[[Category:Gymnastics at the Commonwealth Games navigational boxes|Commonwealth Games]]
</noinclude>
+
}}</noinclude>

Revision as of 00:37, 19 January 2016

Template documentation
Navigation maintenance
Check completeness of transclusions

Initial visibility: currently defaults to autocollapse

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

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