Difference between revisions of "Template:Battle class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Paska rotor
imported>WOSlinker
(Military navigation|border=child|style=wide)
Line 5: Line 5:
 
| style    = wide
 
| style    = wide
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| groupstyle = text-align:left;
  
| group1    = {{align|left|{{navy|United Kingdom}}}}
+
| group1    = {{navy|United Kingdom}}
| list1      = {{Navbox subgroup
+
| list1      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
| group1 = {{align|left|1942 group}}
+
| groupstyle = text-align:left;
 +
| group1 = 1942 group
 
| list1  =
 
| list1  =
 
* {{HMS|Armada|D14|2}}
 
* {{HMS|Armada|D14|2}}
Line 29: Line 30:
 
* {{HMS|Vigo|D31|2}}
 
* {{HMS|Vigo|D31|2}}
  
| group2    = {{align|left|1943 group}}
+
| group2    = 1943 group
| list2      = {{Navbox subgroup
+
| list2      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
| group2 = {{align|left|Completed}}
+
| group2 = Completed
 
| list2  =
 
| list2  =
 
* {{HMS|Agincourt|D86|2}}
 
* {{HMS|Agincourt|D86|2}}
Line 44: Line 44:
 
* {{HMS|Matapan|D43|2}}
 
* {{HMS|Matapan|D43|2}}
  
| group3 = {{align|left|Cancelled}}
+
| group3 = Cancelled
 
| list3  =
 
| list3  =
 
* ''Albuera''<!-- {{HMS|Albuera||2}} -->
 
* ''Albuera''<!-- {{HMS|Albuera||2}} -->
Line 67: Line 67:
 
}}
 
}}
  
| group4 = {{align|left|{{navy|Australia}}}}
+
| group4 = {{navy|Australia}}
 
| list4  =
 
| list4  =
 
* {{HMAS|Anzac|D59|2}}
 
* {{HMAS|Anzac|D59|2}}
 
* {{HMAS|Tobruk|D37|2}}
 
* {{HMAS|Tobruk|D37|2}}
  
| list5 = {{Navbox|child
+
| list5 = {{Military navigation|border=child|style=wide
 
| title = Other operators
 
| title = Other operators
 
| state = {{#ifeq:{{{state|{{{1|<noinclude>others</noinclude>}}}}}}|others|uncollapsed|collapsed}}
 
| state = {{#ifeq:{{{state|{{{1|<noinclude>others</noinclude>}}}}}}|others|uncollapsed|collapsed}}
| titlestyle = {{WPMILHIST Infobox style|nav_box_wide_header}}
+
| groupstyle = text-align:left;
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
| group1 = {{align|left|{{navy|Iran|1964|name=Imperial Iranian Navy}}}}
+
| group1 = {{navy|Iran|1964|name=Imperial Iranian Navy}}
 
| list1  =
 
| list1  =
 
* [[HMS Sluys (D60)|''Artemiz'']]<!-- {{ship|Iranian destroyer|Artemiz|DDG-5|2}} --> / [[HMS Sluys (D60)|''Damavand'']]<!-- {{ship|Iranian destroyer|Damavand|51|2}} --> (ex-''Sluys'')
 
* [[HMS Sluys (D60)|''Artemiz'']]<!-- {{ship|Iranian destroyer|Artemiz|DDG-5|2}} --> / [[HMS Sluys (D60)|''Damavand'']]<!-- {{ship|Iranian destroyer|Damavand|51|2}} --> (ex-''Sluys'')
  
| group2 = {{align|left|{{navy|Pakistan}}}}
+
| group2 = {{navy|Pakistan}}
 
| list2  =
 
| list2  =
 
* [[HMS Gabbard (D47)|''Badr'']]<!-- {{ship|PNS|Badr|D161|2}} --> / [[HMS Gabbard (D47)|''Indus'']]<!-- {{ship|MSS|Indus||2}}} --> (ex-''Gabbard'')
 
* [[HMS Gabbard (D47)|''Badr'']]<!-- {{ship|PNS|Badr|D161|2}} --> / [[HMS Gabbard (D47)|''Indus'']]<!-- {{ship|MSS|Indus||2}}} --> (ex-''Gabbard'')

Revision as of 10:10, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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