Difference between revisions of "Template:A class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>Derekbridges
(fix formatting)
m (40 revisions imported)
 
(4 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|raw_name=A class destroyer
 
|raw_name=A class destroyer
 
|state={{{state|}}}
 
|state={{{state|}}}
|title=[[A-class destroyer (1929)|A-class destroyer]]
+
|title=[[A- and B-class destroyer]]
 
|bodyclass=hlist
 
|bodyclass=hlist
 +
| groupstyle = text-align:left;
  
| group1 = {{align|left|{{navy|UK}}}}
+
| group1     = A class
 +
| list1      = {{Military navigation|border=child|style=wide
 +
| groupstyle = text-align:left;
 +
| group1 = {{navy|UK}}
 
| list1  =
 
| list1  =
 
* {{HMS|Codrington|D65|2}} [leader]
 
* {{HMS|Codrington|D65|2}} [leader]
Line 18: Line 22:
 
* {{HMS|Achates|H12|2}}
 
* {{HMS|Achates|H12|2}}
  
| group2 = {{align|left|{{navy|Canada|1921}}}}{{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}}
 
* {{HMCS|Skeena|D59|2}}
 
* {{HMCS|Skeena|D59|2}}
 +
}}
  
| list3 =
+
| group2    = B class
 +
| list2    = {{Military navigation|border=child|style=wide
 +
 
 +
| groupstyle = text-align:left;
 +
| group2 = {{navy|United Kingdom}}
 +
| list2  =
 +
* {{HMS|Keith|1930|2}} [leader]
 +
* {{HMS|Basilisk|H11|2}}
 +
* {{HMS|Beagle|H30|2}}
 +
* {{HMS|Blanche|H47|2}}
 +
* {{HMS|Boadicea|H65|2}}
 +
* {{HMS|Boreas|H77|2}}
 +
* {{HMS|Brazen|H80|2}}
 +
* {{HMS|Brilliant|H84|2}}
 +
* {{HMS|Bulldog|H91|2}}
 +
 
 +
| group3 = {{navy|Greece|royalnavy|name=Royal Hellenic Navy}}
 +
| list3 =
 +
* [[HMS Boreas (H77)|''Salamis'']]<!-- {{ship|Greek destroyer|Salamis||2}} --> (ex-''Boreas'')
 +
}}
 +
 
 +
| list4 =
 
* Preceded by: [[Thornycroft type leader|''Shakespeare'' class]]
 
* Preceded by: [[Thornycroft type leader|''Shakespeare'' class]]
* Followed by: {{sclass2-|B|destroyer|4}}
+
* Followed by: {{sclass2-|C and D|destroyer|4}}
  
 
| below =
 
| below =
Line 33: Line 59:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:A-class destroyers (1929)|~]]
+
[[Category:A- and B-class destroyers|~]]
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:Canada military ship templates]]
 
[[Category:Canada military ship templates]]
 +
[[Category:Greece military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:39, 16 October 2020

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.