Difference between revisions of "Template:Figure skating at the Olympic Games"

From blackwiki
Jump to navigation Jump to search
imported>Nickst
(2014)
imported>Zyxw
(fix alignment of list, add documentation wrapper and maintenance link)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Olympic Games Figure skating
+
| name = Olympic Games Figure skating
|title = [[Figure skating at the Olympic Games]]
+
| title = [[Figure skating at the Olympic Games]]
|state = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
|titlestyle = background:#BFD7FF;
+
| titlestyle = background-color:#BFD7FF;
|imageleft =[[Image:Figure skating pictogram.svg|50px|link=|alt=]]
+
| imageleftstyle = width:60px; <!-- minimize width used by left image cell -->
|list1 =
+
| 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 -->
 +
| imageleft = [[File:Figure skating pictogram.svg|40px|link=|alt=]]
 +
 
 +
| list1 =  
 
* [[Figure skating at the 1908 Summer Olympics|1908]]
 
* [[Figure skating at the 1908 Summer Olympics|1908]]
 
* <span style="color:#aaa">1912</span>
 
* <span style="color:#aaa">1912</span>
Line 32: Line 36:
 
* [[Figure skating at the 2010 Winter Olympics|2010]]
 
* [[Figure skating at the 2010 Winter Olympics|2010]]
 
* [[Figure skating at the 2014 Winter Olympics|2014]]
 
* [[Figure skating at the 2014 Winter Olympics|2014]]
|belowclass = hlist
+
| belowclass = hlist
|below =  
+
| below =  
 
* [[List of Olympic medalists in figure skating|List of medalists]]
 
* [[List of Olympic medalists in figure skating|List of medalists]]
 
* [[List of Olympic venues in figure skating|List of venues]]
 
* [[List of Olympic venues in figure skating|List of venues]]
|belowstyle = background:#BFD7FF;
+
| belowstyle = background-color:#BFD7FF;
}}<noinclude>
+
}}<noinclude>{{Documentation | content =
 +
{{Roster maintenance | header = Navigation maintenance}}
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Figure skating at the Olympics navigational boxes| ]]
 
[[Category:Figure skating at the Olympics navigational boxes| ]]
 
[[Category:Figure skating navigational boxes|Olympics]]
 
[[Category:Figure skating navigational boxes|Olympics]]
  
</noinclude>
+
}}</noinclude>

Revision as of 05:43, 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: {{Figure skating at the Olympic Games|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Figure skating at the Olympic Games|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Figure skating at the Olympic Games|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.