Difference between revisions of "Template:Benson class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Derekbridges
(fix formatting)
imported>WOSlinker
(use groupstyle rather than align|left)
 
Line 5: Line 5:
 
| style    = wide
 
| style    = wide
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| groupstyle = text-align:left;
  
| group1 = {{align|left|{{navy|United States|1912}}}}
+
| 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}}
  
| group2 = {{align|left|{{navy|Republic of China}}}}
+
| group2 = {{navy|Republic of China}}
 
| list2  =
 
| list2  =
 
* [[USS Benson (DD-421)|''Lo Yang'']]<!-- [[ROCS Lo Yang (DD-14) (Benson class)|''Lo Yang'']] --> (ex-''Benson'')
 
* [[USS Benson (DD-421)|''Lo Yang'']]<!-- [[ROCS Lo Yang (DD-14) (Benson class)|''Lo Yang'']] --> (ex-''Benson'')
 
* [[USS Hilary P. Jones (DD-427)|''Han Yang'']]<!-- [[ROCS Han Yang (DD-15) (Benson class)|''Han Yang'']] --> (ex-''Hilary P. Jones'')
 
* [[USS Hilary P. Jones (DD-427)|''Han Yang'']]<!-- [[ROCS Han Yang (DD-15) (Benson class)|''Han Yang'']] --> (ex-''Hilary P. Jones'')
  
| group3 = {{align|left|{{navy|Italy|name=''Marina Militare''}}}}
+
| group3 = {{navy|Italy|name=''Marina Militare''}}
 
| list3  =
 
| list3  =
 
* [[USS Woodworth (DD-460)|''Artigliere'']]<!-- {{ship|Italian destroyer|Artigliere|D553}} --> (ex-''Woodworth'')
 
* [[USS Woodworth (DD-460)|''Artigliere'']]<!-- {{ship|Italian destroyer|Artigliere|D553}} --> (ex-''Woodworth'')

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.