Difference between revisions of "Template:Illustrious class aircraft carrier"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Welsh
m (fix link)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
|style=wide
 
|style=wide
|raw_name=Illustrious-class aircraft carrier
+
|raw_name=Illustrious class aircraft carrier
 
|state={{{state|}}}
 
|state={{{state|}}}
 
|title={{sclass-|Illustrious|aircraft carrier|1}}
 
|title={{sclass-|Illustrious|aircraft carrier|1}}

Revision as of 12:36, 20 February 2015

Initial visibility: currently defaults to autocollapse

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

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