Difference between revisions of "Template:A class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
m (40 revisions imported)
 
(5 intermediate revisions by 5 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={{navy|UK|size=30x15px}}
+
| group1    = A class
|list1=
+
| list1      = {{Military navigation|border=child|style=wide
* {{HMS|Codrington|D65|2}} (leader)
+
| groupstyle = text-align:left;
* {{HMS|Acasta|H09|2}}
+
| group1 = {{navy|UK}}
* {{HMS|Achates|H12|2}}
+
| list1 =
* {{HMS|Acheron|H45|2}}
+
* {{HMS|Codrington|D65|2}} [leader]
 +
* {{HMS|Anthony|H40|2}}
 +
* {{HMS|Ardent|H41|2}}
 
* {{HMS|Active|H14|2}}
 
* {{HMS|Active|H14|2}}
 
* {{HMS|Antelope|H36|2}}
 
* {{HMS|Antelope|H36|2}}
* {{HMS|Anthony|H40|2}}
+
* {{HMS|Acasta|H09|2}}
* {{HMS|Ardent|H41|2}}
 
 
* {{HMS|Arrow|H42|2}}
 
* {{HMS|Arrow|H42|2}}
 +
* {{HMS|Acheron|H45|2}}
 +
* {{HMS|Achates|H12|2}}
  
|group2=[[Image:Naval Ensign of the United Kingdom.svg|25px]]<br><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}}
 +
}}
 +
 +
| 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]]
 +
* Followed by: {{sclass2-|C and D|destroyer|4}}
 +
 +
| below =
 +
* [[:Category:Destroyers of the Royal Navy|List of destroyers of the Royal Navy]]
 +
* [[:Category:Destroyers of the Royal Canadian Navy|List of destroyers of the Royal Canadian Navy]]
  
|below=
 
* Preceded by: [[Thornycroft type leader|Thornycroft-type leader (''Shakespeare''-class destroyer)]]
 
* Followed by: {{sclass2-|B|destroyer|4}}
 
[[List of destroyer classes of the Royal Navy|List of destroyers of the Royal Navy]]
 
 
}}<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.