Difference between revisions of "Template:Doctor Who episodes"

From blackwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
| name = Doctor Who episodes
 
| name = Doctor Who episodes
 
| title = ''[[Doctor Who]]'' {{#switch:{{{1}}}
 
| title = ''[[Doctor Who]]'' {{#switch:{{{1}}}
  | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | C13 | C14 | C15 | C16 | C17 | C18 | C19 | C20 | C21 | C22 | C23 | C24 | C25 | C26 = [[List of Doctor Who serials|serials]]
+
  | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | C13 | C14 | C15 | C16 | C17 | C18 | C19 | C20 | C21 | C22 | C23 | C24 | C25 | C26 = [[List of Doctor Who serials|serials]]
 
  | #default = [[List of Doctor Who serials|episodes]]}}
 
  | #default = [[List of Doctor Who serials|episodes]]}}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}

Revision as of 22:39, 24 September 2015

Template documentation

Usage

{{Doctor Who episodes|number}}

Numbers

  • 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.