Difference between revisions of "Template:Curling at the Winter Olympics"

From blackwiki
Jump to navigation Jump to search
(structure)
Line 7: Line 7:
 
| imageleftstyle = width:60px; <!-- minimize width used by left image cell -->
 
| imageleftstyle = width:60px; <!-- minimize width used by left image cell -->
 
| imagestyle = width:60px; <!-- same as imageleftstyle to center the list -->
 
| imagestyle = width:60px; <!-- same as imageleftstyle to center the list -->
| image = [[File:No image.svg|40px|link=|alt=]] <!-- empty right image to center the list -->
+
| image = [[File:Curling pictogram.svg|40px|link=|alt=]]
| imageleft = [[File:Curling pictogram.svg|40px|link=|alt=]]
 
  
 
| group1 = Summary by year
 
| group1 = Summary by year

Revision as of 13:08, 17 February 2018

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