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

From blackwiki
Jump to navigation Jump to search
imported>EH101
(+it)
imported>WOSlinker
(Military navigation|border=child|style=wide)
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|style=wide
+
| name      = C and D class destroyer
|raw_name=C and D class destroyer
+
| title     = [[C and D-class destroyer|C- and D-class destroyers]]
|title=[[C and D class destroyer|C- and D-class destroyer]]
+
| state    = {{{state|autocollapse}}}
 +
| style    = wide
 +
| bodyclass = hlist
 +
| groupstyle = text-align:left;
  
|group1=C class
+
| group1     = C class
|list1={{Navbox subgroup
+
| list1     = {{Military navigation|border=child|style=wide
|groupstyle={{WPMILHIST Infobox style|nav_box_label}}
 
  
|group1={{navy|United Kingdom|size=30x15px}}
+
| groupstyle = text-align:left;
|list1=<div>
+
| group1 = {{navy|United Kingdom}}
{{HMS|Comet|H00|2}}{{·}}
+
| list1 =
{{HMS|Crescent|1931|2}}{{·}}
+
* {{HMS|Kempenfelt|I18|2}} [leader]
{{HMS|Crusader|H60|2}}{{·}}  
+
* {{HMS|Crescent|1931|2}}
{{HMS|Cygnet|H83|2}}{{·}}  
+
* {{HMS|Cygnet|H83|2}}
{{HMS|Kempenfelt|I18|2}}
+
* {{HMS|Comet|H00|2}}
</div>
+
* {{HMS|Crusader|H60|2}}
  
|group2={{navy|Canada|1921|size=30x15px}}<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=<div>
+
| list2 =
{{HMCS|Assiniboine|I18|2}} (ex-''Kempenfelt''){{·}}
+
* {{HMCS|Assiniboine|I18|2}} (ex-''Kempenfelt'')
[[HMS Crescent (1931)|''Fraser'']] (ex-''Crescent''){{·}}<!-- if separate RCN ship article is written, use this: {{HMCS|Fraser|H48|2}} (ex-''Crescent''){{·}} -->
+
* [[HMS Crescent (1931)|''Fraser'']]<!-- {{HMCS|Fraser|H48|2}} --> (ex-''Crescent'')
{{HMCS|Ottawa|H60|2}} (ex-''Crusader''){{·}}
+
* [[HMS Cygnet (H83)|''St. Laurent'']]<!-- {{HMCS|St. Laurent|H83|2}} --> (ex-''Cygnet'')
{{HMCS|Restigouche|H00|2}} (ex-''Comet''){{·}}
+
* {{HMCS|Restigouche|H00|2}} (ex-''Comet'')
[[HMS Cygnet (H83)|''St. Laurent'']] (ex-''Cygnet'')
+
* {{HMCS|Ottawa|H60|2}} (ex-''Crusader'')
</div>
 
 
}}
 
}}
  
|group2=D class
+
| group2     = D class
|list2={{Navbox subgroup
+
| list2     = {{Military navigation|border=child|style=wide
|groupstyle={{WPMILHIST Infobox style|nav_box_label}}
 
  
|group1={{navy|United Kingdom|size=30x15px}}
+
| groupstyle = text-align:left;
|list1=<div>
+
| group1 = {{navy|United Kingdom}}
{{HMS|Dainty|H53|2}}{{·}}
+
| list1 =
{{HMS|Daring|H16|2}}{{·}}
+
* {{HMS|Duncan|D99|2}} [leader]
{{HMS|Decoy|H75|2}}{{·}}
+
* {{HMS|Daring|H16|2}}
{{HMS|Defender|H07|2}}{{·}}
+
* {{HMS|Defender|H07|2}}
{{HMS|Delight|H38|2}}{{·}}
+
* {{HMS|Diamond|H22|2}}
{{HMS|Diamond|H22|2}}{{·}}
+
* {{HMS|Dainty|H53|2}}
{{HMS|Diana|H49|2}}{{·}}
+
* {{HMS|Delight|H38|2}}
{{HMS|Duchess|H64|2}}{{·}}
+
* {{HMS|Decoy|H75|2}}
{{HMS|Duncan|D99|2}}
+
* {{HMS|Diana|H49|2}}
</div>
+
* {{HMS|Duchess|H64|2}}
  
|group2={{navy|Canada|1921|size=30x15px}}<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=<div>
+
| 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'')
</div>
 
 
}}
 
}}
  
|below=Preceded by: {{sclass2|B|destroyer|4}}{{·}} Followed by: [[E and F class destroyer|E and F class]]<br>[[List of destroyer classes of the Royal Navy]]{{·}} [[List of ships of the Canadian Navy]]
+
| list3 =
 +
* Preceded by: {{sclass2-|B|destroyer|4}}
 +
* Followed by: [[E and F-class destroyer|E class]]
 +
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Navy|List of destroyers of the Royal Navy]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:C and D class destroyers| ]]
+
{{collapsible option}}
[[Category:United Kingdom destroyer templates|{{PAGENAME}}]]
+
[[Category:C and D-class destroyers|~]]
[[Category:Canada military ship templates|{{PAGENAME}}]]
+
[[Category:United Kingdom destroyer templates]]
 
+
[[Category:Canada military ship templates]]
[[it:Template:Cacciatorpediniere classi C e D]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:25, 30 July 2016

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.