Difference between revisions of "Template:Doping in sport sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Alan Liefting
(restricted template's width to 18em (otherwise looks odd on widescreen monitors), listtitlestyle)
Line 1: Line 1:
 
{{Sidebar with collapsible lists
 
{{Sidebar with collapsible lists
|name       = Doping in sport sidebar
+
|name = Doping in sport sidebar
|style     = width:20%
+
|style = width:18em
|pretitle   = Part of [[:Category:Drugs in sport|a series]] on
+
|pretitle = Part of [[:Category:Drugs in sport|a series]] on
|title      = [[Use of performance-enhancing drugs in sport|Doping in sport]]
+
|titlestyle = font-size:200%;line-height:1.0em;font-weight:normal;
|titlestyle = font-size:200%; line-height:1.0em; font-weight:normal;
+
|title = [[Use of performance-enhancing drugs in sport|Doping in sport]]
|listtitlestyle = background:#9B75AD; color:white;
 
|expanded  = {{{expanded|}}}
 
 
|listclass = hlist
 
|listclass = hlist
 +
|listtitlestyle = background:#9B75AD;padding-left:0.2em;color:white;
 +
|expanded = {{{expanded|}}}
  
|list1name = Substances and types
+
|list1name = Substances and types
 
|list1title = Substances and types
 
|list1title = Substances and types
 
|list1 =  
 
|list1 =  
Line 30: Line 30:
 
* [[Tetrahydrogestrinone]]
 
* [[Tetrahydrogestrinone]]
  
|list2name = Terminology
+
|list2name = Terminology
 
|list2title = Terminology
 
|list2title = Terminology
 
|list2 =  
 
|list2 =  
Line 43: Line 43:
 
* [[Whizzinator]]
 
* [[Whizzinator]]
  
|list3name = History
+
|list3name = History
 
|list3title = History
 
|list3title = History
 
|list3 =  
 
|list3 =  
Line 67: Line 67:
 
* [[Doping at the 2007 Tour de France|2007 Tour de France]]
 
* [[Doping at the 2007 Tour de France|2007 Tour de France]]
  
|list4name = Doping-related lists
+
|list4name = Doping-related lists
 
|list4title = Doping-related lists
 
|list4title = Doping-related lists
 
|list4 = Doping cases in:  
 
|list4 = Doping cases in:  
Line 77: Line 77:
 
* [[List of Major League Baseball players named in the Mitchell Report|MLB players in the Mitchell Report]]
 
* [[List of Major League Baseball players named in the Mitchell Report|MLB players in the Mitchell Report]]
  
|list5name = Anti-doping bodies
+
|list5name = Anti-doping bodies
 
|list5title = Anti-doping bodies
 
|list5title = Anti-doping bodies
 
|list5 =  
 
|list5 =  
Line 86: Line 86:
  
 
{{collapsible lists option |listnames="Substances and types", "Terminology", "History", "Doping-related lists" or "Anti-doping bodies" |example=History}}
 
{{collapsible lists option |listnames="Substances and types", "Terminology", "History", "Doping-related lists" or "Anti-doping bodies" |example=History}}
 +
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 
[[Category:"Part of a series on" templates|Doping in sport sidebar]]
 
[[Category:"Part of a series on" templates|Doping in sport sidebar]]
 
[[Category:Sports templates]]
 
[[Category:Sports templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:54, 28 August 2012

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Doping in sport sidebar |expanded=all}} or, if enabled, {{Doping in sport sidebar |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Doping in sport sidebar |expanded=listname}} or, if enabled, {{Doping in sport sidebar |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "Substances and types", "Terminology", "History", "Doping-related lists" or "Anti-doping bodies"
  • For example, {{Doping in sport sidebar |expanded=History}} or, if enabled, {{Doping in sport sidebar |History}}