Difference between revisions of "Template:Doctor Who companions"

From blackwiki
Jump to navigation Jump to search
Line 24: Line 24:
 
| list1 = {{#switch:1|{{{1|1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} = {{Navbox|subgroup
 
| list1 = {{#switch:1|{{{1|1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} = {{Navbox|subgroup
 
| groupwidth = 9%
 
| groupwidth = 9%
| group1 = TV
+
| group1 = Main
 
| list1 =
 
| list1 =
 
* [[Susan Foreman]]
 
* [[Susan Foreman]]
Line 31: Line 31:
 
* [[Vicki (Doctor Who)|Vicki]]
 
* [[Vicki (Doctor Who)|Vicki]]
 
* [[Steven Taylor (Doctor Who)|Steven Taylor]]
 
* [[Steven Taylor (Doctor Who)|Steven Taylor]]
* [[Katarina (Doctor Who)|Katarina]]
 
* [[Sara Kingdom]]
 
 
* [[Dodo Chaplet]]
 
* [[Dodo Chaplet]]
 
* [[Polly (Doctor Who)|Polly]]
 
* [[Polly (Doctor Who)|Polly]]
 
* [[Ben Jackson (Doctor Who)|Ben Jackson]]
 
* [[Ben Jackson (Doctor Who)|Ben Jackson]]
| group2 = Comics
+
| group2 = Recurring
 
| list2 =
 
| list2 =
 +
*[[Katarina (Doctor Who)|Katarina]]
 +
| group3 = Guest
 +
| list3 =
 +
*[[Sara Kingdom]]
 +
| group4 = Comics
 +
| list4 =
 
* [[John and Gillian]]
 
* [[John and Gillian]]
 
}}
 
}}

Revision as of 20:43, 4 December 2018

Initial visibility: currently defaults to autocollapse

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

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

Template documentation

Usage