Difference between revisions of "Template:B class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (updating category using AWB)
imported>WOSlinker
(use groupstyle rather than align|left)
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
|name   = B class destroyer
+
| name     = B class destroyer
|state  =
+
| title     = {{sclass2-|B|destroyer|1}}s
|title   = [[B class destroyer]]
+
| state    = {{{state|autocollapse}}}
|list1  = [[HMS Keith (H06)|''Keith'']] (leader){{·}}[[HMS Basilisk (H11)|''Basilisk'']]{{·}}[[HMS Beagle (H30)|''Beagle'']]{{·}}[[HMS Blanche (H47)|''Blanche'']]{{·}}[[HMS Boadicea (H65)|''Boadicea'']]{{·}}[[HMS Boreas (H77)|''Boreas'']]{{·}}[[HMS Brazen (H80)|''Brazen'']]{{·}}[[HMS Brilliant (H84)|''Brilliant'']]{{·}}[[HMS Bulldog (H91)|''Bulldog'']]
+
| style    = wide
|below  = Preceded by:[[A class destroyer]]{{·}}Followed by:[[C and D class destroyer]]<br>[[List of destroyers of the Royal Navy]]
+
| bodyclass = hlist
}}
+
| groupstyle = text-align:left;
<noinclude>
 
  
[[Category:United Kingdom military ship templates|{{PAGENAME}}]]
+
| group1 = {{navy|United Kingdom}}
 +
| list1  =
 +
* {{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}}
 +
 
 +
| group2 = {{navy|Greece|royalnavy|name=Royal Hellenic Navy}}
 +
| list2  =
 +
* [[HMS Boreas (H77)|''Salamis'']]<!-- {{ship|Greek destroyer|Salamis||2}} --> (ex-''Boreas'')
 +
 
 +
| list3 =
 +
* Preceded by: [[A-class destroyer (1929)|A class]]
 +
* Followed by: [[C and D-class destroyer|C class]]
 +
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Navy|List of destroyers of the Royal Navy]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:A- and B-class destroyers|~]]
 +
[[Category:United Kingdom destroyer templates]]
 +
[[Category:Greece military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:24, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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