Difference between revisions of "Template:Cunard ships"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (Redirect bypass from RMS Queen Mary 2 to Queen Mary 2 using popups)
imported>Paine Ellsworth
m (expand formers on this page only)
Line 20: Line 20:
 
  {{Navbox with columns |child
 
  {{Navbox with columns |child
 
   |title = Former ships 1840–1994
 
   |title = Former ships 1840–1994
 +
  |state=<noinclude>expanded</noinclude>
 
   |colwidth = 20%
 
   |colwidth = 20%
 
   |colstyle = text-align:left;
 
   |colstyle = text-align:left;

Revision as of 02:29, 7 April 2020


Initial visibility: currently defaults to collapsed

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

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