Difference between revisions of "Template:A class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>Natg 19
(fix)
blackwiki>WOSlinker
(Military navigation|border=child|style=wide)
Line 5: Line 5:
 
|title=[[A- and B-class destroyer]]
 
|title=[[A- and B-class destroyer]]
 
|bodyclass=hlist
 
|bodyclass=hlist
 +
| groupstyle = text-align:left;
  
| group1    = {{align|left|A class}}
+
| group1    = A class
| list1      = {{Navbox subgroup
+
| list1      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = text-align:left;
 
+
| group1 = {{navy|UK}}
| group1 = {{align|left|{{navy|UK}}}}
 
 
| list1  =
 
| list1  =
 
* {{HMS|Codrington|D65|2}} [leader]
 
* {{HMS|Codrington|D65|2}} [leader]
Line 22: Line 22:
 
* {{HMS|Achates|H12|2}}
 
* {{HMS|Achates|H12|2}}
  
| group2 = {{align|left|{{navy|Canada|1911}}}}{{clear|left}}{{align|left|<small>Part of {{sclass2-|Canadian River|destroyer|4}}</small>}}
+
| group2 = {{navy|Canada|1911}}<br /><small>Part of {{sclass2-|Canadian River|destroyer|4}}</small>
 
| list2  =
 
| list2  =
 
* {{HMCS|Saguenay|D79|2}}
 
* {{HMCS|Saguenay|D79|2}}
Line 28: Line 28:
 
}}
 
}}
  
| group2    = {{align|left|B class}}
+
| group2    = B class
| list2    = {{Navbox subgroup
+
| list2    = {{Military navigation|border=child|style=wide
|groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
| group2 = {{align|left|{{navy|United Kingdom}}}}
+
| groupstyle = text-align:left;
 +
| group2 = {{navy|United Kingdom}}
 
| list2  =
 
| list2  =
 
* {{HMS|Keith|1930|2}} [leader]
 
* {{HMS|Keith|1930|2}} [leader]
Line 44: Line 44:
 
* {{HMS|Bulldog|H91|2}}
 
* {{HMS|Bulldog|H91|2}}
  
| group3 = {{align|left|{{navy|Greece|royalnavy|name=Royal Hellenic Navy}}}}
+
| group3 = {{navy|Greece|royalnavy|name=Royal Hellenic Navy}}
 
| list3  =
 
| list3  =
 
* [[HMS Boreas (H77)|''Salamis'']]<!-- {{ship|Greek destroyer|Salamis||2}} --> (ex-''Boreas'')
 
* [[HMS Boreas (H77)|''Salamis'']]<!-- {{ship|Greek destroyer|Salamis||2}} --> (ex-''Boreas'')

Revision as of 10:27, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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