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

From blackwiki
Jump to navigation Jump to search
imported>Himasaram
(flag template)
imported>WOSlinker
(use groupstyle rather than align|left)
 
(44 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{| class="navbox collapsible autocollapse" style="margin-left:auto; margin-right:auto; width:75%;"
+
{{military navigation
|-
+
| name      = Leander class cruiser 1931
! colspan="2"| {{tnavbar-collapsible| [[Leander class cruiser (1931)|''Leander''-class cruiser]] |Leander class cruiser}}
+
| title    = [[Leander-class cruiser (1931)|''Leander''-class cruisers]]
|-
+
| state    = {{{state|autocollapse}}}
| style="width:30%;"| {{flagicon|UK|naval}} '''[[Royal Navy]]'''
+
| style    = wide
|| [[HMNZS Achilles (70)|''Achilles'']] | [[HMS Ajax (22)|''Ajax'']] | [[HMAS Perth (1934)|''Amphion'']] | [[HMAS Hobart (1939)|''Apollo'']] | [[HMNZS Leander|''Leander'']] | [[HMS Neptune (20)|''Neptune'']] | [[HMS Orion (85)|''Orion'']] | [[HMAS Sydney (1934)|''Phaeton'']]
+
| bodyclass = hlist
|-
+
| groupstyle = text-align:left;
|| {{flagicon|Australia|naval}} '''[[Royal Australian Navy]]'''
+
 
|| [[HMAS Hobart (1939)|''Hobart'' (ex-''Apollo'')]] | [[HMAS Perth (1934)|''Perth'' (ex-''Amphion'')]] | [[HMAS Sydney (1934)|''Sydney'' (ex-''Phaeton'')]]
+
| group1    = ''Leander'' class
|-
+
| list1      = {{Military navigation|border=child|style=wide
|| {{flagicon|New Zealand|naval}} '''[[Royal New Zealand Navy]]'''
+
| groupstyle = text-align:left;
|| [[HMNZS Achilles (70)|''Achilles'']] | [[HMNZS Leander |''Leander'']]
+
 
|-
+
| group1 = {{navy|United Kingdom}}
|| {{flagicon|India|naval}} '''[[Indian Navy]]'''
+
| list1  =
|| [[INS Delhi (1948)|''Delhi'' (ex-''Achilles'')]]
+
* {{HMNZS|Leander||2}}<!-- {{HMS|Leander|75|2}} -->
|-
+
* {{HMNZS|Achilles|70|2}}<!-- {{HMS|Achilles|70|2}} -->
! colspan="2"| '''[[List of cruisers of the Royal Navy]]''' | '''[[List of major warship classes of the Royal Australian Navy]]'''
+
* {{HMS|Orion|85|2}}
|}<noinclude>
+
* {{HMS|Neptune|20|2}}
[[Category:Australian military ship navigational boxes|{{PAGENAME}}]]
+
* {{HMS|Ajax|22|2}}
[[Category:United Kingdom military ship navigational boxes|{{PAGENAME}}]]
+
 
 +
| group2 = {{navy|India}}
 +
| list2  =
 +
* {{INS|Delhi|C74|2}} (ex-''Achilles'')
 +
 
 +
| group3 ={{navy|New Zealand|1941}}
 +
| list3  =
 +
* {{HMNZS|Leander||2}}
 +
* {{HMNZS|Achilles|70|2}}
 +
}}
 +
 
 +
| group2 = ''Amphion'' class<br />(Modified ''Leander'' class)
 +
| list2  = {{Military navigation|border=child|style=wide
 +
| groupstyle = text-align:left;
 +
 
 +
| group2 = {{navy|United Kingdom}}
 +
| list2  =
 +
* [[HMAS Perth (D29)|''Amphion'']]<!-- {{HMS|Amphion|29|2}} -->
 +
* [[HMAS Sydney (D48)|''Phaeton'']]<!-- {{HMS|Phaeton|48|2}} -->
 +
* [[HMAS Hobart (D63)|''Apollo'']]<!-- {{HMS|Apollo|63|2}} -->
 +
 
 +
| group3 = {{navy|Australia|1913}}<br /><small>{{sclass-|Perth|cruiser|4}}</small>
 +
| list3  =
 +
* {{HMAS|Sydney|D48|2}} (ex-''Phaeton'')
 +
* {{HMAS|Hobart|D63|2}} (ex-''Apollo'')
 +
* {{HMAS|Perth|D29|2}} (ex-''Amphion'')
 +
}}
 +
 
 +
| list4 =
 +
* Preceded by: {{sclass-|Emerald|cruiser|4}}
 +
* Followed by: {{sclass-|Arethusa|cruiser (1934)|4}}
 +
 
 +
| below =
 +
* [[:Category:Cruisers of the Royal Navy|List of cruisers of the Royal Navy]]
 +
* [[:Category:Cruisers of the Royal Australian Navy|List of cruisers of the Royal Australian Navy]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Leander-class cruisers (1931)|~]]
 +
[[Category:United Kingdom military ship templates]]
 +
[[Category:Australia military ship templates]]
 +
[[Category:India military ship templates]]
 +
[[Category:New Zealand military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:58, 30 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.