Difference between revisions of "Template:Cassin class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
imported>Derekbridges
(fix formatting; add other ship names)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|raw_name = Cassin class destroyer
+
| name      = Cassin class destroyer
|style = wide
+
| title     = {{sclass-|Cassin|destroyer|1}}s
|title = {{sclass-|Cassin|destroyer|1}}
+
| state     = {{{state|autocollapse}}}
|state = {{{state|autocollapse}}}
+
| style    = wide
|bodyclass = hlist
+
| bodyclass = hlist
  
|list1 =  
+
| group1 = {{align|left|{{navy|United States|1912}}}}
* {{USS|Cassin|DD-43|2}}
+
| list1 =  
* {{USS|Cummings|DD-44|2}}
+
* {{USS|Cassin|DD-43|2}} / [[USS Cassin (DD-43)|DD-43 (Unnamed)]]
* {{USS|Downes|DD-45|2}}
+
* {{USS|Cummings|DD-44|2}} / [[USS Cummings (DD-44)|DD-44 (Unnamed)]]
 +
* {{USS|Downes|DD-45|2}} / [[USS Downes (DD-45)|DD-45 (Unnamed)]]
 
* {{USS|Duncan|DD-46|2}}
 
* {{USS|Duncan|DD-46|2}}
  
|below =  
+
| group2 = {{align|left|{{navy|United States|coast guard}}}}
 +
| list2  =
 +
* {{USS|Cassin|DD-43|2}}<!-- {{ship|USCGD|Cassin|CG-1|2}} -->
 +
* {{USS|Cummings|DD-44|2}}<!-- {{ship|USCGD|Cummings|CG-3|2}} -->
 +
* {{USS|Downes|DD-45|2}}<!-- {{ship|USCGD|Downes|CG-4|2}} -->
 +
 
 +
| list3 =  
 
* Preceded by: {{sclass-|Paulding|destroyer|4}}
 
* Preceded by: {{sclass-|Paulding|destroyer|4}}
 
* Followed by: {{sclass-|Aylwin|destroyer|4}}
 
* Followed by: {{sclass-|Aylwin|destroyer|4}}
  
 +
| below =
 
* [[List of destroyers of the United States Navy]]
 
* [[List of destroyers of the United States Navy]]
* [[List of destroyer classes of the United States Navy]]
+
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Cassin-class destroyers|~]]
 
[[Category:Cassin-class destroyers|~]]
 
[[Category:United States military ship templates]]
 
[[Category:United States military ship templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:28, 6 December 2014

Initial visibility: currently defaults to autocollapse

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

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