Difference between revisions of "Template:Astute class submarine"

From blackwiki
Jump to navigation Jump to search
blackwiki>UnaToFiAN-1
m (38 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
| style = wide
 
| style = wide
 
| name  = Astute class submarine
 
| name  = Astute class submarine
| title = [[Astute-class submarine|''Astute''-class submarine]]s
+
| title = {{sclass2-|Astute|submarine|1}}s
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
  
 
| list1 =
 
| list1 =
* {{HMS|Astute|S119||2}}
+
* {{HMS|Astute|S119|2}}
* {{HMS|Ambush|S120||2}}
+
* {{HMS|Ambush|S120|2}}
* {{HMS|Artful|S121||2}}
+
* {{HMS|Artful|S121|2}}
* {{HMS|Audacious|S122||2}}
+
* {{HMS|Audacious|S122|2}}
* {{HMS|Anson|S123||2}}
+
* {{HMS|Anson|S123|2}}
* {{HMS|Agamemnon|S124||2}}
+
* {{HMS|Agamemnon|S124|2}}
* {{HMS|Agincourt|S125||2}}
+
* {{HMS|Agincourt|S125|2}}
  
 
| below =
 
| below =
* Preceded by: [[Trafalgar-class submarine|''Trafalgar'' class]]
+
* Preceded by: {{sclass2-|Trafalgar|submarine|4}}
 
* Followed by: ''None''
 
* Followed by: ''None''
  

Latest revision as of 11:28, 29 October 2020

Initial visibility: currently defaults to autocollapse

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

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