Difference between revisions of "Template:Doctor Who companions"

From blackwiki
Jump to navigation Jump to search
imported>PrimeHunter
(allow up to 5 groups to be selected with unnamed parameters)
imported>Alex 21
Line 261: Line 261:
 
===Usage===
 
===Usage===
 
* {{tlx|Doctor Who companions}} for all companions.
 
* {{tlx|Doctor Who companions}} for all companions.
* {{tlx|Doctor Who companions|DOCTOR NUMBER}} for the companions of a specific Doctor.
+
* {{tlx|Doctor Who companions|DOCTOR NUMBER|...}} for the companions of one or more specific Doctors.
 
}}
 
}}
 
[[Category:Doctor Who companions navigational boxes]]
 
[[Category:Doctor Who companions navigational boxes]]
 
[[Category:Fictional character navigational boxes]]</noinclude>
 
[[Category:Fictional character navigational boxes]]</noinclude>

Revision as of 11:45, 29 September 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