Difference between revisions of "Template:Doctor Who episodes/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Alex 21
imported>Frietjes
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
| listclass = hlist
 
  
 
| above =  
 
| above =  
Line 251: Line 250:
 
| group20 = [[Doctor Who (season 20)|Season 20]]
 
| group20 = [[Doctor Who (season 20)|Season 20]]
 
| list20 = {{#switch:{{{1|}}} || C20 =
 
| list20 = {{#switch:{{{1|}}} || C20 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Season
 
  | group1 = Season
Line 283: Line 282:
 
| group22 = [[Doctor Who (season 22)|Season 22]]
 
| group22 = [[Doctor Who (season 22)|Season 22]]
 
| list22 = {{#switch:{{{1|}}} || C22 =
 
| list22 = {{#switch:{{{1|}}} || C22 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Season
 
  | group1 = Season
Line 349: Line 348:
 
| group28 = [[Doctor Who (series 2)|Series 2]]
 
| group28 = [[Doctor Who (series 2)|Series 2]]
 
| list28 = {{#switch:{{{1|}}} || N2 =
 
| list28 = {{#switch:{{{1|}}} || N2 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 379: Line 378:
 
| group29 = [[Doctor Who (series 3)|Series 3]]
 
| group29 = [[Doctor Who (series 3)|Series 3]]
 
| list29 = {{#switch:{{{1|}}} || N3 =
 
| list29 = {{#switch:{{{1|}}} || N3 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 405: Line 404:
 
| group30 = [[Doctor Who (series 4)|Series 4]]
 
| group30 = [[Doctor Who (series 4)|Series 4]]
 
| list30 = {{#switch:{{{1|}}} || N4 =
 
| list30 = {{#switch:{{{1|}}} || N4 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 433: Line 432:
 
| group31 = [[Doctor Who (2008–2010 specials)|2008–2010<br />specials]]
 
| group31 = [[Doctor Who (2008–2010 specials)|2008–2010<br />specials]]
 
| list31 = {{#switch:{{{1|}}} || N4a =
 
| list31 = {{#switch:{{{1|}}} || N4a =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Specials
 
  | group1 = Specials
Line 452: Line 451:
 
| group32 = [[Doctor Who (series 5)|Series 5]]
 
| group32 = [[Doctor Who (series 5)|Series 5]]
 
| list32 = {{#switch:{{{1|}}} || N5 =
 
| list32 = {{#switch:{{{1|}}} || N5 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Series
 
  | group1 = Series
Line 476: Line 475:
 
| group33 = [[Doctor Who (series 6)|Series 6]]
 
| group33 = [[Doctor Who (series 6)|Series 6]]
 
| list33 = {{#switch:{{{1|}}} || N6 =
 
| list33 = {{#switch:{{{1|}}} || N6 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 507: Line 506:
 
| group34 = [[Doctor Who (series 7)|Series 7]]
 
| group34 = [[Doctor Who (series 7)|Series 7]]
 
| list34 = {{#switch:{{{1|}}} || N7 =
 
| list34 = {{#switch:{{{1|}}} || N7 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 541: Line 540:
 
| group35 = [[Doctor Who (2013 specials)|2013<br />specials]]
 
| group35 = [[Doctor Who (2013 specials)|2013<br />specials]]
 
| list35 = {{#switch:{{{1|}}} || N7a =
 
| list35 = {{#switch:{{{1|}}} || N7a =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Specials
 
  | group1 = Specials
Line 573: Line 572:
 
| group37 = [[Doctor Who (series 9)|Series 9]]
 
| group37 = [[Doctor Who (series 9)|Series 9]]
 
| list37 = {{#switch:{{{1|}}} || N9 =
 
| list37 = {{#switch:{{{1|}}} || N9 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas
Line 597: Line 596:
 
| group38 = [[Doctor Who (series 10)|Series 10]]
 
| group38 = [[Doctor Who (series 10)|Series 10]]
 
| list38 = {{#switch:{{{1|}}} || N10 =
 
| list38 = {{#switch:{{{1|}}} || N10 =
{{Navbox subgroup
+
{{Navbox|subgroup
  | groupstyle = width:8%;
+
  | groupwidth = 8%
  
 
  | group1 = Christmas
 
  | group1 = Christmas

Revision as of 18:49, 30 August 2017

Template documentation

Usage

{{Doctor Who episodes|Number}}

Number

  • All episodes = none/blank
  • Classic seasons (1963–1989) = C1, C2, etc.
  • Revived series (2005–present) = N1, N2, etc.
  • 2008–2010 specials = N4a
  • 2013 specials = N7a

Initial visibility: currently defaults to autocollapse

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

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