Difference between revisions of "Template:Benson class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>EmausBot
m (r2.7.3) (Robot: Modifying sv:Mall:Benson-klass)
imported>WOSlinker
(use groupstyle rather than align|left)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name      = Benson class destroyer
 
| name      = Benson class destroyer
| title    = {{sclass|Benson|destroyer|1}}
+
| title    = {{sclass-|Benson|destroyer|1}}s
 +
| state    = {{{state|autocollapse}}}
 +
| style    = wide
 
| bodyclass = hlist
 
| bodyclass = hlist
| state    = <noinclude>uncollapsed</noinclude>
+
| groupstyle = text-align:left;
| style    = wide
 
  
| group1 = {{navy|United States|size=30x15px}}
+
| group1 = {{navy|United States|1912}}
 
| list1  =
 
| list1  =
 
* {{USS|Benson|DD-421|2}}
 
* {{USS|Benson|DD-421|2}}
Line 39: Line 40:
 
* {{USS|Ordronaux|DD-617|2}}
 
* {{USS|Ordronaux|DD-617|2}}
  
| list3      = {{Navbox|child
+
| group2 = {{navy|Republic of China}}
| title      = Other operators
+
| list2 =
| bodyclass = hlist
+
* [[USS Benson (DD-421)|''Lo Yang'']]<!-- [[ROCS Lo Yang (DD-14) (Benson class)|''Lo Yang'']] --> (ex-''Benson'')
| titlestyle = {{WPMILHIST Infobox style|nav_box_wide_header}}
+
* [[USS Hilary P. Jones (DD-427)|''Han Yang'']]<!-- [[ROCS Han Yang (DD-15) (Benson class)|''Han Yang'']] --> (ex-''Hilary P. Jones'')
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
| state      = {{#ifeq:{{{1<noinclude>|others</noinclude>}}}|others|uncollapsed|collapsed}}
 
  
| group1 = {{navy|Republic of China|size=30x15px}}
+
| group3 = {{navy|Italy|name=''Marina Militare''}}
| list1 =
+
| list3 =
* [[USS Hilary P. Jones (DD-427)|''Han Yang'']]
+
* [[USS Woodworth (DD-460)|''Artigliere'']]<!-- {{ship|Italian destroyer|Artigliere|D553}} --> (ex-''Woodworth'')
* [[USS Benson (DD-421)|''Lo Yang'']]
 
  
| group2 = {{navy|Italy|name=''Marina Militare''|size=30x15px}}<!-- name in italics because it's in foreign language -->
+
| list4 =
| list2  =
+
* Preceded by: {{sclass-|Sims|destroyer|4}}
* [[USS Woodworth (DD-460)|''Artigliere'']]
+
* Followed by: {{sclass-|Gleaves|destroyer|4}}
 
 
}}
 
  
 
| below =
 
| below =
* Preceded by: {{sclass|Sims|destroyer|4}}
+
* [[List of destroyers of the United States Navy]]
* Followed by: {{sclass|Gleaves|destroyer|4}}
 
  
* [[List of destroyers of the United States Navy]]
 
* [[List of destroyer classes of the United States Navy]]
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Benson class destroyers| ]]
+
{{collapsible option}}
 +
[[Category:Benson-class destroyers|~]]
 
[[Category:United States military ship templates]]
 
[[Category:United States military ship templates]]
 
[[Category:Republic of China military ship templates]]
 
[[Category:Republic of China military ship templates]]
 
[[Category:Italy military ship templates]]
 
[[Category:Italy military ship templates]]
 
[[cs:Šablona:Americké torpédoborce třídy Benson]]
 
[[pl:Szablon:Niszczyciele typu Benson]]
 
[[sv:Mall:Benson-klass]]
 
 
</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.