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>WOSlinker
(use groupstyle rather than align|left)
 
(2 intermediate revisions by 2 users not shown)
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
 +
| groupstyle = text-align:left;
  
|list1 =  
+
| group1 = {{navy|United States|1912}}
 +
| list1 =  
 
* {{USS|Cassin|DD-43|2}}
 
* {{USS|Cassin|DD-43|2}}
 
* {{USS|Cummings|DD-44|2}}
 
* {{USS|Cummings|DD-44|2}}
Line 12: Line 14:
 
* {{USS|Duncan|DD-46|2}}
 
* {{USS|Duncan|DD-46|2}}
  
|below =  
+
| group2 = {{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>

Latest revision as of 21:23, 30 July 2016

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.