Difference between revisions of "Template:C and D class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Derekbridges
(fix formatting)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
| style=wide
+
| name      = C and D class destroyer
| name=C and D class destroyer
+
| title    = [[C and D-class destroyer|C- and D-class destroyers]]
 +
| state    = {{{state|autocollapse}}}
 +
| style    = wide
 
| bodyclass = hlist
 
| bodyclass = hlist
| title=[[C and D-class destroyer|C- and D-class destroyer]]
 
| state= {{{state|autocollapse}}}
 
  
| group1=C class
+
| group1     = {{align|left|C class}}
| list1={{Navbox subgroup
+
| list1     = {{Navbox subgroup
| groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
| group1={{navy|United Kingdom|size=30x15px}}
+
| group1 = {{align|left|{{navy|United Kingdom}}}}
| list1=
+
| list1  =
 +
* {{HMS|Kempenfelt|I18|2}} [leader]
 +
* {{HMS|Crescent|1931|2}}
 +
* {{HMS|Cygnet|H83|2}}
 
* {{HMS|Comet|H00|2}}
 
* {{HMS|Comet|H00|2}}
* {{HMS|Crescent|1931|2}}
 
 
* {{HMS|Crusader|H60|2}}
 
* {{HMS|Crusader|H60|2}}
* {{HMS|Cygnet|H83|2}}
 
* {{HMS|Kempenfelt|I18|2}}
 
  
| group2=[[File:Naval Ensign of the United Kingdom.svg|border|link=|25px]] {{navy|Canada}}part of {{sclass2-|Canadian River|destroyer|4}}</small>
+
| group2 = {{align|left|{{navy|Canada|1921}}}}{{clear|left}}{{align|left|<small>Part of {{sclass2-|Canadian River|destroyer|4}}</small>}}
| list2=
+
| list2 =
 
* {{HMCS|Assiniboine|I18|2}} (ex-''Kempenfelt'')
 
* {{HMCS|Assiniboine|I18|2}} (ex-''Kempenfelt'')
* [[HMS Crescent (1931)|''Fraser'']] (ex-''Crescent'')
+
* [[HMS Crescent (1931)|''Fraser'']]<!-- {{HMCS|Fraser|H48|2}} --> (ex-''Crescent'')
* <!-- if separate RCN ship article is written, use this: {{HMCS|Fraser|H48|2}} (ex-''Crescent'')
+
* [[HMS Cygnet (H83)|''St. Laurent'']]<!-- {{HMCS|St. Laurent|H83|2}} --> (ex-''Cygnet'')
* -->
+
* {{HMCS|Restigouche|H00|2}} (ex-''Comet'')
 
* {{HMCS|Ottawa|H60|2}} (ex-''Crusader'')
 
* {{HMCS|Ottawa|H60|2}} (ex-''Crusader'')
* {{HMCS|Restigouche|H00|2}} (ex-''Comet'')
 
* [[HMS Cygnet (H83)|''St. Laurent'']] (ex-''Cygnet'')
 
 
}}
 
}}
  
| group2=D class
+
| group2     = {{align|left|D class}}
| list2={{Navbox subgroup
+
| list2     = {{Navbox subgroup
| groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
| group1={{navy|United Kingdom|size=30x15px}}
+
| group1 = {{align|left|{{navy|United Kingdom}}}}
| list1=
+
| list1 =
* {{HMS|Dainty|H53|2}}
+
* {{HMS|Duncan|D99|2}} [leader]
 
* {{HMS|Daring|H16|2}}
 
* {{HMS|Daring|H16|2}}
* {{HMS|Decoy|H75|2}}
 
 
* {{HMS|Defender|H07|2}}
 
* {{HMS|Defender|H07|2}}
 +
* {{HMS|Diamond|H22|2}}
 +
* {{HMS|Dainty|H53|2}}
 
* {{HMS|Delight|H38|2}}
 
* {{HMS|Delight|H38|2}}
* {{HMS|Diamond|H22|2}}
+
* {{HMS|Decoy|H75|2}}
 
* {{HMS|Diana|H49|2}}
 
* {{HMS|Diana|H49|2}}
 
* {{HMS|Duchess|H64|2}}
 
* {{HMS|Duchess|H64|2}}
* {{HMS|Duncan|D99|2}}
 
  
| group2={{navy|United Kingdom|size=30x15px}}<br><small>part of [[Royal Canadian Navy]] {{sclass2-|Canadian River|destroyer|4}}</small>
+
| group2 = {{align|left|{{navy|Canada|1921}}}}{{clear|left}}{{align|left|<small>Part of {{sclass2-|Canadian River|destroyer|4}}</small>}}
| list2=
+
| list2 =
* {{HMCS|Kootenay|H75|2}} (ex-''Decoy'')
+
* [[HMS Decoy (H75)|''Kootenay'']]<!-- {{HMCS|Kootenay|H75|2}} --> (ex-''Decoy'')
* [[HMS Diana (H49)|''Margaree'']] (ex-''Diana'')<!-- if separate RCN ship article is written, use this: {{HMCS|Margaree|H49|2}} (ex-''Diana'') -->
+
* [[HMS Diana (H49)|''Margaree'']]<!-- {{HMCS|Margaree|H49|2}} --> (ex-''Diana'')
 
}}
 
}}
  
| below=
+
| list3 =
 
* Preceded by: {{sclass2-|B|destroyer|4}}
 
* Preceded by: {{sclass2-|B|destroyer|4}}
* Followed by: [[E and F-class destroyer|E and F class]]
+
* Followed by: [[E and F-class destroyer|E class]]
 +
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Navy|List of destroyers of the Royal Navy]]
  
* [[List of destroyer classes of the Royal Navy]]
 
* [[List of ships of the Canadian Navy]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
 
[[Category:C and D-class destroyers|~]]
 
[[Category:C and D-class destroyers|~]]
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:Canada military ship templates]]
 
[[Category:Canada military ship templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 04:57, 5 November 2014

Initial visibility: currently defaults to autocollapse

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

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