Difference between revisions of "Template:Benson class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(add USN 'group')
imported>WOSlinker
(use groupstyle rather than align|left)
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|raw_name=Benson class destroyer
+
| name      = Benson class destroyer
|style=wide
+
| title     = {{sclass-|Benson|destroyer|1}}s
|title={{sclass|Benson|destroyer|1}}
+
| state    = {{{state|autocollapse}}}
 +
| style    = wide
 +
| bodyclass = hlist
 +
| groupstyle = text-align:left;
  
|group1={{navy|United States|size=30x15px}}
+
| group1 = {{navy|United States|1912}}
|list1=<div>
+
| list1 =
{{nowrap begin}}
+
* {{USS|Benson|DD-421|2}}
{{USS|Benson|DD-421|2}}{{·w}}
+
* {{USS|Mayo|DD-422|2}}
{{USS|Mayo|DD-422|2}}{{·w}}
+
* {{USS|Madison|DD-425|2}}
{{USS|Madison|DD-425|2}}{{·w}}
+
* {{USS|Lansdale|DD-426|2}}
{{USS|Lansdale|DD-426|2}}{{·w}}
+
* {{USS|Hilary P. Jones|DD-427|2}}
{{USS|Hilary P. Jones|DD-427|2}}{{·w}}
+
* {{USS|Charles F. Hughes|DD-428|2}}
{{USS|Charles F. Hughes|DD-428|2}}{{·w}}
+
* {{USS|Laffey|DD-459|2}}
{{USS|Laffey|DD-459|2}}{{·w}}
+
* {{USS|Woodworth|DD-460|2}}
{{USS|Woodworth|DD-460|2}}{{·w}}
+
* {{USS|Farenholt|DD-491|2}}
{{USS|Farenholt|DD-491|2}}{{·w}}
+
* {{USS|Bailey|DD-492|2}}
{{USS|Bailey|DD-492|2}}{{·w}}
+
* {{USS|Bancroft|DD-598|2}}
{{USS|Bancroft|DD-598|2}}{{·w}}
+
* {{USS|Barton|DD-599|2}}
{{USS|Barton|DD-599|2}}{{·w}}
+
* {{USS|Boyle|DD-600|2}}
{{USS|Boyle|DD-600|2}}{{·w}}
+
* {{USS|Champlin|DD-601|2}}
{{USS|Champlin|DD-601|2}}{{·w}}
+
* {{USS|Meade|DD-602|2}}
{{USS|Meade|DD-602|2}}{{·w}}
+
* {{USS|Murphy|DD-603|2}}
{{USS|Murphy|DD-603|2}}{{·w}}
+
* {{USS|Parker|DD-604|2}}
{{USS|Parker|DD-604|2}}{{·w}}
+
* {{USS|Caldwell|DD-605|2}}
{{USS|Caldwell|DD-605|2}}{{·w}}
+
* {{USS|Coghlan|DD-606|2}}
{{USS|Coghlan|DD-606|2}}{{·w}}
+
* {{USS|Frazier|DD-607|2}}
{{USS|Frazier|DD-607|2}}{{·w}}
+
* {{USS|Gansevoort|DD-608|2}}
{{USS|Gansevoort|DD-608|2}}{{·w}}
+
* {{USS|Gillespie|DD-609|2}}
{{USS|Gillespie|DD-609|2}}{{·w}}
+
* {{USS|Hobby|DD-610|2}}
{{USS|Hobby|DD-610|2}}{{·w}}
+
* {{USS|Kalk|DD-611|2}}
{{USS|Kalk|DD-611|2}}{{·w}}
+
* {{USS|Kendrick|DD-612|2}}
{{USS|Kendrick|DD-612|2}}{{·w}}
+
* {{USS|Laub|DD-613|2}}
{{USS|Laub|DD-613|2}}{{·w}}
+
* {{USS|MacKenzie|DD-614|2}}
{{USS|MacKenzie|DD-614|2}}{{·w}}
+
* {{USS|McLanahan|DD-615|2}}
{{USS|McLanahan|DD-615|2}}{{·w}}
+
* {{USS|Nields|DD-616|2}}
{{USS|Nields|DD-616|2}}{{·w}}  
+
* {{USS|Ordronaux|DD-617|2}}
{{USS|Ordronaux|DD-617|2}}
 
{{nowrap end}}
 
</div>
 
  
|list3={{Navbox|child
+
| group2 = {{navy|Republic of China}}
|title=Other operators
+
| list2  =
|titlestyle={{WPMILHIST Infobox style|nav_box_wide_header}}
+
* [[USS Benson (DD-421)|''Lo Yang'']]<!-- [[ROCS Lo Yang (DD-14) (Benson class)|''Lo Yang'']] --> (ex-''Benson'')
|groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
* [[USS Hilary P. Jones (DD-427)|''Han Yang'']]<!-- [[ROCS Han Yang (DD-15) (Benson class)|''Han Yang'']] --> (ex-''Hilary P. Jones'')
|state=<noinclude>expanded</noinclude><includeonly>{{#ifeq:{{{1|}}}|others|uncollapsed|collapsed}}</includeonly>
 
  
|group1={{navy|Republic of China|size=30x15px}}
+
| group3 = {{navy|Italy|name=''Marina Militare''}}
|list1=<div>
+
| list3  =
{{nowrap begin}}
+
* [[USS Woodworth (DD-460)|''Artigliere'']]<!-- {{ship|Italian destroyer|Artigliere|D553}} --> (ex-''Woodworth'')
[[USS Hilary P. Jones (DD-427)|''Han Yang'']]{{·w}}
 
[[USS Benson (DD-421)|''Lo Yang'']]
 
{{nowrap end}}
 
</div>
 
  
|group2={{navy|Italy|name=''Marina Militare''|size=30x15px}}<!-- name in italics because it's in foreign language -->
+
| list4 =
|list2=<div>
+
* Preceded by: {{sclass-|Sims|destroyer|4}}
[[USS Woodworth (DD-460)|''Artigliere'']]
+
* Followed by: {{sclass-|Gleaves|destroyer|4}}
</div>
 
  
}}
+
| below =
 +
* [[List of destroyers of the United States Navy]]
  
|below=Preceded by: {{sclass|Sims|destroyer|4}}{{·}} Followed by: {{sclass|Gleaves|destroyer|4}}<br>[[List of destroyers of the United States Navy]]{{·w}} [[List of destroyer classes of the United States Navy]]
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Benson class destroyers| ]]
+
{{collapsible option}}
[[Category:United States military ship templates|{{PAGENAME}}]]
+
[[Category:Benson-class destroyers|~]]
[[Category:Republic of China military ship templates|{{PAGENAME}}]]
+
[[Category:United States military ship templates]]
[[Category:Italy military ship templates|{{PAGENAME}}]]
+
[[Category:Republic of China military ship templates]]
 
+
[[Category:Italy military ship templates]]
[[pl:Szablon:Niszczyciele typu Benson]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:22, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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