Difference between revisions of "Template:Leander class cruiser 1931"

From blackwiki
Jump to navigation Jump to search
imported>Derekbridges
(fix formatting)
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|''Leander'' class}}
+
| group1    = ''Leander'' class
| list1      = {{Navbox subgroup
+
| list1      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = text-align:left;
  
| group1 = {{align|left|{{navy|United Kingdom}}}}
+
| group1 = {{navy|United Kingdom}}
 
| list1  =
 
| list1  =
 
* {{HMNZS|Leander||2}}<!-- {{HMS|Leander|75|2}} -->
 
* {{HMNZS|Leander||2}}<!-- {{HMS|Leander|75|2}} -->
Line 18: Line 19:
 
* {{HMS|Ajax|22|2}}
 
* {{HMS|Ajax|22|2}}
  
| group2 = {{align|left|{{navy|India}}}}
+
| group2 = {{navy|India}}
 
| list2  =
 
| list2  =
 
* {{INS|Delhi|C74|2}} (ex-''Achilles'')
 
* {{INS|Delhi|C74|2}} (ex-''Achilles'')
  
| group3 = {{align|left|{{navy|New Zealand|1941}}}}
+
| group3 ={{navy|New Zealand|1941}}
 
| list3  =
 
| list3  =
 
* {{HMNZS|Leander||2}}
 
* {{HMNZS|Leander||2}}
Line 29: Line 30:
  
 
| group2 = {{align|left|''Amphion'' class}}{{clear|left}}{{align|left|(Modified ''Leander'' class)}}
 
| group2 = {{align|left|''Amphion'' class}}{{clear|left}}{{align|left|(Modified ''Leander'' class)}}
| list2  = {{Navbox subgroup
+
| list2  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = text-align:left;
  
| group2 = {{align|left|{{navy|United Kingdom}}}}
+
| group2 = {{navy|United Kingdom}}
 
| list2  =
 
| list2  =
 
* [[HMAS Perth (D29)|''Amphion'']]<!-- {{HMS|Amphion|29|2}} -->
 
* [[HMAS Perth (D29)|''Amphion'']]<!-- {{HMS|Amphion|29|2}} -->
Line 38: Line 39:
 
* [[HMAS Hobart (D63)|''Apollo'']]<!-- {{HMS|Apollo|63|2}} -->
 
* [[HMAS Hobart (D63)|''Apollo'']]<!-- {{HMS|Apollo|63|2}} -->
  
| group3 = {{align|left|{{navy|Australia|1913}}}}{{clear|left}}{{align|left|<small>{{sclass-|Perth|cruiser|4}}</small>}}
+
| group3 = {{navy|Australia|1913}}}}{{clear|left}}{{align|left|<small>{{sclass-|Perth|cruiser|4}}</small>
 
| list3  =
 
| list3  =
 
* {{HMAS|Sydney|D48|2}} (ex-''Phaeton'')
 
* {{HMAS|Sydney|D48|2}} (ex-''Phaeton'')

Revision as of 23:32, 29 July 2016

Initial visibility: currently defaults to autocollapse

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

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