Difference between revisions of "Template:Charles F. Adams class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Derekbridges
(formatting; add ships)
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}}}}
+
| group1 = {{navy|United States}}
 
| list1  =
 
| list1  =
 
* <!-- {{USS|Charles F. Adams|DD-952|2}} -->{{USS|Charles F. Adams|DDG-2|2}}
 
* <!-- {{USS|Charles F. Adams|DD-952|2}} -->{{USS|Charles F. Adams|DDG-2|2}}
Line 32: Line 33:
 
* {{USS|Waddell|DDG-24|2}}
 
* {{USS|Waddell|DDG-24|2}}
  
| group2 = {{align|left|{{navy|Australia}}}}{{clear|left}}{{align|left|<small>{{sclass-|Perth|destroyer|4}}</small>}}
+
| group2 = {{navy|Australia}}<br /><small>{{sclass-|Perth|destroyer|4}}</small>
 
| list2  =
 
| list2  =
 
* {{HMAS|Perth|D 38|2}}
 
* {{HMAS|Perth|D 38|2}}
Line 39: Line 40:
 
* (''Goldsborough'' was purchased by the RAN for spare parts)
 
* (''Goldsborough'' was purchased by the RAN for spare parts)
  
| group3 = {{align|left|{{navy|Germany}}}}{{clear|left}}{{align|left|<small>{{sclass-|Lütjens|destroyer|4}}</small>}}
+
| group3 = {{navy|Germany}}<br /><small>{{sclass-|Lütjens|destroyer|4}}</small>
 
| list3  =
 
| list3  =
 
* {{ship|German destroyer|Lütjens|D185|2}}
 
* {{ship|German destroyer|Lütjens|D185|2}}
Line 45: Line 46:
 
* {{ship|German destroyer|Rommel|D187|2}}
 
* {{ship|German destroyer|Rommel|D187|2}}
  
| group4 = {{align|left|{{navy|Greece}}}}{{clear|left}}{{align|left|<small>{{sclass-|Kimon|destroyer|4}}</small>}}
+
| group4 = {{navy|Greece}}<br /><small>{{sclass-|Kimon|destroyer|4}}</small>
 
| list4  =
 
| list4  =
 
* [[USS Semmes (DDG-18)|''Kimon'']]<!-- {{ship|Greek destroyer|Kimon|D218|2}} --> (ex-''Semmes'')
 
* [[USS Semmes (DDG-18)|''Kimon'']]<!-- {{ship|Greek destroyer|Kimon|D218|2}} --> (ex-''Semmes'')

Revision as of 20:59, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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