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

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 Curling
+
| name = Olympic Games Curling
|title = [[Curling at the Winter Olympics]]
+
| title = [[Curling at the Winter Olympics]]
|state = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
|titlestyle = background:#BFD7FF;
+
| titlestyle = background-color:#BFD7FF;
|imageleft = [[Image:Curling 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:Curling pictogram.svg|40px|link=|alt=]]
 +
| list1 =  
 
* [[Curling at the 1924 Winter Olympics|1924]]
 
* [[Curling at the 1924 Winter Olympics|1924]]
 
* <span style="color:#aaa">1928</span>
 
* <span style="color:#aaa">1928</span>
* ''[[Curling at the 1932 Winter Olympics|1932]] (demonstration)''
+
* ''[[Curling at the 1932 Winter Olympics|1932]]&nbsp;(demonstration)''
 
* <span style="color:#aaa">1936–1984</span>
 
* <span style="color:#aaa">1936–1984</span>
* ''[[Curling at the 1988 Winter Olympics|1988]] (demonstration)''
+
* ''[[Curling at the 1988 Winter Olympics|1988]]&nbsp;(demonstration)''
* ''[[Curling at the 1992 Winter Olympics|1992]] (demonstration)''
+
* ''[[Curling at the 1992 Winter Olympics|1992]]&nbsp;(demonstration)''
 
* <span style="color:#aaa">1994</span>
 
* <span style="color:#aaa">1994</span>
 
* [[Curling at the 1998 Winter Olympics|1998]]
 
* [[Curling at the 1998 Winter Olympics|1998]]
Line 19: Line 22:
 
* [[Curling at the 2010 Winter Olympics|2010]]
 
* [[Curling at the 2010 Winter Olympics|2010]]
 
* [[Curling at the 2014 Winter Olympics|2014]]
 
* [[Curling at the 2014 Winter Olympics|2014]]
|belowclass = hlist
+
| belowclass = hlist
|below =  
+
| below =  
 
* [[List of Olympic medalists in curling|List of medalists]]
 
* [[List of Olympic medalists in curling|List of medalists]]
 
* [[List of Olympic venues in curling|List of venues]]
 
* [[List of Olympic venues in curling|List of venues]]
|belowstyle = background:#BFD7FF;
+
| belowstyle = background-color:#BFD7FF;
}}<noinclude>
+
}}<noinclude>{{Documentation | content =
 +
{{Roster maintenance | header = Navigation maintenance}}
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Curling at the Winter Olympics navigational boxes| ]]
 
[[Category:Curling at the Winter Olympics navigational boxes| ]]
  
</noinclude>
+
}}</noinclude>

Revision as of 13:22, 19 January 2016

50px 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.